plataformatec/devise — Issue #1387: undefined method `new_session_path' with capybara
Author: apocalyptiq
Created: 2011-10-14 16:53:10+00:00
State: open

Since a few days ago i'm getting strange error on my specs in Capybara which are using devise controllers, for example after I fill in in capybara reset password form and click a send button, it throws:

undefined method `new_session_path' for #

And the same with resending confirmation instructions:

undefined method `new_session_path' for #

But when I ran server and reset password or reset confirmation instructions, it is working... But previously it was all ok.

I don't know if it is caused by some new version of Devise, or due to changes in my app... I'm using also gems such as: active_admin, forem, client_side_validations. Rails 3.1.1

Any ideas what may causing this weird error?