José Valim
4b272767d6
Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts, closes #341 .
2010-06-29 11:52:10 +02:00
José Valim
290cfd1f72
Be more generic on TestHelpers.
2010-06-13 11:09:59 +02:00
José Valim
033db1ca7c
Do not depend on silence_missing_strategies! anymore. This speeds up strategies matching because we don't need to check if the model duck types to the strategy and it doesn't trigger uneeded strategies.
2010-03-28 14:55:05 +02:00
Carlos Antonio da Silva
a5ba2ac1a8
Use prepend_before_filter in require_no_authentication.
...
We need to be sure require_no_authentication runs before other user filters that may call some Devise helper (ie current_xxx).
Conflicts:
app/controllers/devise/passwords_controller.rb
app/controllers/devise/registrations_controller.rb
app/controllers/devise/sessions_controller.rb
app/controllers/devise/unlocks_controller.rb
lib/devise/controllers/internal_helpers.rb
test/rails_app/app/controllers/application_controller.rb
2010-03-26 08:26:51 -03:00
José Valim
e6e66481b8
Got all tests in test/models and failure app ones passing. 369 tests, 805 assertions, 13 failures, 2 errors.
2010-02-16 17:00:36 +01:00
José Valim
f46d1b1d81
Add support to Warden 0.9.0.pre
2010-01-14 13:38:02 +01:00
José Valim
99694fd159
Updated CHANGELOG.
2010-01-07 22:37:47 +01:00
José Valim
543fe077d8
Update to work with Warden 0.8.0.
2010-01-05 13:44:13 +01:00
José Valim
b04241ddff
Allow to sign in with two different users in the same functional test with Devise::TestHelpers.
2009-12-14 22:48:15 +01:00
José Valim
de40777334
Extract common logic into the same method.
2009-11-16 15:07:01 -02:00
José Valim
97a7f0ed51
Added test helpers.
2009-11-16 14:58:14 -02:00