aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/secure_password_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Refactor `has_secure_password` to extract dedicated attribute moduleRyuta Kamizono2019-04-051-0/+14
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-10/+8
* has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-081-3/+3
* Improve `SecurePasswordTest#test_authenticate`bogdanvlviv2018-07-061-4/+7
* Merge pull request #26764 from choncou/improve_has_secure_passwordRafael Mendonça França2018-06-281-0/+4
|\
| * Remove method for regenerating a token, and update `#authenticate`.Unathi Chonco2016-10-121-11/+2
| * This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-121-0/+13
* | Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-11/+11
* | Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
|/
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-59/+59
* Allow password to contain spaces only.Yevhene Shemet2014-08-061-0/+10
* Only automatically include validations when enabledGodfrey Chan2014-07-021-11/+3
* automatically include ActiveModel::Validations when include ActiveModel::Secu...Aditya Kapoor2014-07-031-0/+5
* Use `@existing_user` while updating existing user, fixing - #ee4e86Akshay Vishnoi2014-06-141-6/+6
* Cleaned up the `has_secure_password` test casesGodfrey Chan2014-06-141-33/+29
* SecurePassword - Validate password must be less than or equal to 72Akshay Vishnoi2014-06-141-0/+28
* comment why we are modifying global state. [ci skip]Yves Senn2014-03-111-0/+1
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-111-23/+11
* Run ActiveModel test suites in random order.Zuhao Wan2014-03-101-7/+25
* Some minor fixesGodfrey Chan2014-01-241-1/+0
* Removed old testsGodfrey Chan2014-01-241-58/+121
* Merge pull request #13273 from robertomiranda/test-remove-requireGuillermo Iguaran2013-12-111-1/+0
|\
| * Remove require 'models/administrator', Administrator is not used in secure pa...robertomiranda2013-12-111-1/+0
* | Use bcrypt's public cost attr, not internal constantT.J. Schuck2013-10-101-0/+8
|/
* Fix secure_password password_confirmation validationsVladimir Kiselev2013-07-241-0/+5
* Fix regression in has_secure_password.Phil Calvin2013-05-301-0/+9
* `has_secure_password` is not invalid when assigning empty Strings.Yves Senn2013-03-041-0/+6
* Use secure password min cost option in its own tests for a speed upCarlos Antonio da Silva2012-11-211-2/+10
* Use BCrypt's MIN_COST in the test environment for speedier testsTrevor Turk2012-11-141-1/+12
* Cleanup trailing whitespacesdfens2012-10-121-1/+1
* Remove MassAssignmentSecurity from ActiveModelGuillermo Iguaran2012-09-161-12/+0
* has_secure_password should not raise a 'digest missing' error if the calling ...Robby Grossman2012-07-311-0/+8
* Updated tests for has_secure_password.Erich Menge2012-05-081-8/+22
* Fix secure_password setterOscar Del Ben2012-04-241-0/+6
* use variables from test setupVijay Dev2011-10-171-6/+4
* AM mass assignment security attr_accessible and attr_protected now allow for ...Josh Kalderimis2011-04-241-5/+6
* bcrypt will encrypt anything, so validate_presence_of would not catch nil / b...Aaron Patterson2011-04-141-0/+12
* Override attributes_protected_by_default when has_secure_password is called.Tsutomu Kuroda2011-02-091-0/+13
* Remove weak_passwords list and the length/strong password validator, leave th...Santiago Pastorino2010-12-191-49/+1
* Add set_weak_passwords call in alignment with set_table_name.Mikel Lindsaar2010-12-191-0/+5
* Added ability to specify which passwords you want as weak passwordsMikel Lindsaar2010-12-191-11/+31
* Make password messages translatable.José Valim2010-12-191-1/+1
* Avoid warnings and fix small typo on SecurePassword.José Valim2010-12-191-1/+3
* BCrypt does its own salting, lovely!David Heinemeier Hansson2010-12-181-0/+11