Is there a way we can test that we ended up at the expected path with rspec?
Something like:
it "should be the forgot password path" do
response.should redirect_to(new_user_password_path)
end
This gives me an error:
Failure/Error: response.should redirect_to(new_user_password_path)
ArgumentError:
@request must be an ActionDispatch::Request