Displaying 1 result from an estimated 1 matches for "active_profil".
Did you mean:
active_profile
2013 Jul 04
3
Rspec devise, testing extended RegistrationController action destroy
...have also tried to test the ''new action''
just to see if it was hitting the right controller on the test and it
worked with:
get :new
This means the mapping it correct for devise and its hitting the right
controller.
But on my test I am doing:
delete :destroy, :profile => active_profile #active_profile is an instance
of a factory
which should be the correct thing but it does not hit my action. I have
tried a lot of different combinations:
post :destroy, :method => :delete
post :destroy
put :destroy
I have also tried to use a debugger on it and I can see it passes the test...