José Valim
c608fbe89e
Rollback to require 'test_helper'. If you want to run it in isolation, do ruby -Itest path/to/test/file.
2011-04-15 10:48:44 +02:00
John Wilger
e1c7c49a0c
Fix test_helper require so file can be run individually
2011-04-15 16:37:14 +08:00
José Valim
edee511cd1
Rename active? to active_for_authentication?
2011-03-25 15:40:46 +01:00
Joey Aghion
fdf6a48a7e
Custom failure apps no longer ignored in test mode.
2011-02-18 15:53:04 +08:00
José Valim
b34f456096
Invoke callbacks using the correct API
2010-12-25 11:41:14 +01:00
Josh Starcher
e95eb93eb7
added failing test for Warden before_failure hooks
2010-12-25 18:21:20 +08:00
José Valim
7c630fdb5e
Do not execute Warden::Callbacks on Devise::TestHelpers. Closes #414 .
2010-09-21 10:50:01 +02:00
Sam Grönblom
57ab87a1b6
Added four tests related to Warden callbacks
...
Two tests are to ensure that the callbacks are called at all. The other
two test ensure that the user parameter provided to the callback is not
nil.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-21 10:31:09 +02:00
José Valim
78e7642bd2
Tests green again.
2010-06-29 21:41:34 +02:00
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
a39312e26b
Ensure flash messages work with Devise::TestHelper, closes #327
2010-06-23 12:39:04 +02:00
José Valim
23e608e27b
No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3.
2010-04-03 11:43:31 +02:00
José Valim
ca4e09390e
Compatibility with Ruby 1.9.1 and 1.9.2.
2010-03-26 11:27:19 +01: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
35a8d13369
Tests passing for ActiveRecord and MongoMapper.
2009-12-21 21:10:23 +01:00
José Valim
78303cd5c5
Got another bunch of tests passing with MongoMapper.
2009-12-21 19:57:17 +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
97a7f0ed51
Added test helpers.
2009-11-16 14:58:14 -02:00