Carlos Antonio da Silva
|
e9c534d363
|
Fix "Test is missing assertions" warnings
`test_set_null_fields_on_migrations`
./devise/test/models_test.rb:87
`test_does_not_crash_when_the_last_request_at_is_a_String`
./devise/test/integration/timeoutable_test.rb:191
`test_defined_Warden_after_authentication_callback_should_not_be_called_when_sign_in_is_called`
./devise/test/test/controller_helpers_test.rb:114
`test_defined_Warden_before_logout_callback_should_not_be_called_when_sign_out_is_called`
./devise/test/test/controller_helpers_test.rb:128
|
2026-01-05 18:16:22 -03:00 |
|
Vasiliy Ermolovich
|
560a1cb16f
|
Use proc to set password length validation so it's possible to override it dynamically.
Co-authored-by: Manoj M J <manojmj92@gmail.com>
|
2024-11-29 14:10:07 +01:00 |
|
tabakazu
|
8acbdd6d93
|
Replace matcher refute to assert_not
|
2023-03-02 18:38:04 -03:00 |
|
Pat Allan
|
f39c6fd927
|
Add the frozen_string_literal pragma comment to all Ruby files. (#4725)
|
2017-12-21 15:36:29 -02:00 |
|
Lucas Mazza
|
656720583f
|
Remove assert_nothing_raised deprecated usage.
|
2016-06-27 16:48:12 -03:00 |
|
Lucas Mazza
|
536279b05b
|
Replace homemade assert_not matcher in favor of refute.
|
2016-05-03 13:57:10 -03:00 |
|
Jon Phenow
|
ab141a8779
|
move model stubs
|
2015-08-27 10:26:12 -05:00 |
|
Jon Phenow
|
c744dcf07a
|
tests
|
2015-08-27 10:26:12 -05:00 |
|
José Valim
|
7e96bac6a4
|
Get rid of deprecated code
|
2013-08-05 11:24:04 +02:00 |
|
Carlos Antonio da Silva
|
d89dad5728
|
Bundle update for both Rails 3.1 and 3.2, update mocha, fix failing tests
|
2013-04-13 11:08:27 -03:00 |
|
Drew Ulmer
|
77ec1b08cd
|
Move test models into their own file so they can be used elsewhere
|
2012-12-01 21:06:03 -06:00 |
|
Carlos Antonio da Silva
|
96e0dcf5d5
|
Remove not used variable, fix indent
|
2012-05-15 17:14:05 -03:00 |
|
Rodrigo Flores
|
768f8832b9
|
Removing encryptable module
|
2012-05-07 16:37:16 -03:00 |
|
Rodrigo Flores
|
7b7af57813
|
Minor fixes on models_test
|
2012-03-03 15:10:17 -03:00 |
|
Rodrigo Flores
|
a12f6ec70c
|
Failure is better than exceptions
|
2012-03-03 14:49:59 -03:00 |
|
Rodrigo Flores
|
fffc3b1e0e
|
Moved a method to support
|
2012-03-03 14:41:22 -03:00 |
|
Rodrigo Flores
|
ecfc7d752a
|
Deprecation warning on module doesn't have a required_fields method
|
2012-03-03 14:30:59 -03:00 |
|
Rodrigo Flores
|
803e4f5524
|
Changed message and refactored exception to use a initializer
|
2012-02-22 13:55:06 -02:00 |
|
Rodrigo Flores
|
bc11e9f300
|
One exception to rule them all
|
2012-02-22 13:55:05 -02:00 |
|
Rodrigo Flores
|
18aef6ac33
|
Some refactor
|
2012-02-22 13:55:03 -02:00 |
|
Rodrigo Flores
|
9667a38bc9
|
Added check_model! method
|
2012-02-22 13:55:01 -02:00 |
|
José Valim
|
930b324c15
|
Usage of confirm_within was deprecated in favor allow_unconfirmed_access_for
|
2011-12-11 20:18:02 +01:00 |
|
José Valim
|
9a6ac7ab69
|
Add confirmable to admin.
|
2011-12-11 20:07:50 +01:00 |
|
José Valim
|
bd27bf7677
|
Deprecate and disable old behavior accumulated with time.
|
2011-12-04 23:58:19 +01:00 |
|
Ches Martin
|
ccbf26be0a
|
Tests that should no longer exclude Mongoid
|
2011-08-06 19:28:19 +07:00 |
|
Chase DuBois
|
c3432e57b1
|
Test for previous commit
|
2011-06-21 20:45:07 -04:00 |
|
José Valim
|
8f3539c14f
|
Don't include the same module several times, closes #765.
|
2011-04-16 13:16:47 +02:00 |
|
José Valim
|
30300fc6b9
|
Add a test that ensures validation options work.
|
2011-04-09 22:47:06 +02:00 |
|
Jo Liss
|
4207c2321f
|
Fix the module sorting in devise method.
|
2011-01-15 07:38:06 +08:00 |
|
Jo Liss
|
fa239b984a
|
Do not silently ignore invalid modules passed to devise method in model.
The & operator seemed to be only used to force sorting, but as a
side effect we got suboptimal error handling.
|
2011-01-15 06:42:29 +08:00 |
|
José Valim
|
09088706bb
|
Extract encryptors into their own module for better bcrypt support.
|
2010-09-25 16:08:46 +02:00 |
|
José Valim
|
1ed674afa8
|
Use Admin in old rememberable tests.
|
2010-09-25 12:04:38 +02:00 |
|
José Valim
|
2602ef41cf
|
Do not add unlock routes unless unlock strategy is email or both, closes #373
|
2010-07-12 07:24:21 +02:00 |
|
José Valim
|
b9c0676a01
|
Get rid of deprecation warnings.
|
2010-04-15 08:43:39 +02:00 |
|
José Valim
|
b2a50db1df
|
Fix a bug with STI. Closes #195.
|
2010-04-15 08:34:57 +02:00 |
|
José Valim
|
1c5d4771ff
|
Initial work on making the authentication stack more flexible.
|
2010-03-29 16:13:19 +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
|
12b64c691f
|
Add support to multipart e-mails (just put them in your mailers folder) and headers customization by simply defining headers_for in your model.
|
2010-03-26 10:01:24 +01:00 |
|
Josh Kalderimis
|
4d3a3ceb43
|
added test to confirm order in ALL is being adhered to when adding and including module in model
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-03-26 09:31:25 +01:00 |
|
José Valim
|
3f0bae1968
|
Allow to give :skip in devise_for to skip routes for an specific controller.
|
2010-03-12 09:54:57 +01:00 |
|
Carlos Antonio da Silva
|
6b837cb285
|
Introducing Registerable module, allowing users to sign up.
|
2010-02-04 20:08:38 -02:00 |
|
José Valim
|
66f4cfd3eb
|
Clean up tests.
|
2010-01-13 19:53:12 +01:00 |
|
Marcelo Silveira
|
9c4ddc6465
|
- Maximum attempts changed from 5 to 20
- Lockable is not turned on by default
- Fixed lockable incompatibilities with latest commits
|
2010-01-09 11:41:28 -02:00 |
|
Marcelo Silveira
|
d2fa737aa0
|
introducing lockable implementation
|
2010-01-01 17:57:35 -02:00 |
|
José Valim
|
0819f87255
|
Test different ORMs
|
2009-12-21 15:29:58 +01:00 |
|
José Valim
|
e1c2e45f97
|
Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected.
|
2009-12-20 13:53:53 +01:00 |
|
José Valim
|
c05b8cf2ce
|
Rename :timeout to :timeout_in and release gem again.
|
2009-11-25 00:11:49 -02:00 |
|
José Valim
|
f9c5dd6a79
|
Added trackable for sign_in_count, sign_in_at and sign_in_ip.
|
2009-11-24 15:18:42 -02:00 |
|
Carlos Antonio da Silva
|
91c184d69f
|
Fixing tests after merge
|
2009-11-23 23:01:01 -02:00 |
|
Carlos Antonio da Silva
|
10a70b8192
|
Updating timeoutable with last devise changes.
|
2009-11-23 23:01:00 -02:00 |
|