Hi folks,
I have created custom registration controller and trying to test it
with rspec. Although my custrom controller has no any code except for
extending Devise::RegistrationController, my spec test fails with
message 'uncaught throw warden'.
I have used setting request.env['devise.mapping'] =
Devise.mappings[:user], and I don't think that it can be related with
attempt to sign in unconfirmed user, as described in another post.
Here is sample application with the only problem test:
https://github.com/whitered/devise_error_isolated (sorry for no
english localization in it)
Any help would be greatly appreciated.
And here is one more question I got to ask: is there any way to tell
Devise not to require user confirmation in test and development
environments, only require it in production mode?