Closed debugging closed 12 years ago
See if this discussion helps: https://github.com/RailsApps/rails3-mongoid-devise/issues/4
-- Daniel
Strange, this made it work:
Given /^I exist as a user$/ do sign_up valid_user visit 'http://127.0.0.1:3000/users/sign_out' end
i.e. appending http://127.0.0.1:3000 to the call to visit.
And now I a am getting another error, which probably means I have to prefix the http and 127....1 on it also.
Why would this be happening?
It is as if the sign_out route isn't mapped correctly, but if I go to http://127.0.0.1:3000/users/sign_out it works fine and redirects to sign_in.
Any ideas what this could be?