mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
comment why we are modifying global state. [ci skip]
This commit is contained in:
parent
3f5339f48e
commit
6868265fe3
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ require 'models/visitor'
|
|||
|
||||
class SecurePasswordTest < ActiveModel::TestCase
|
||||
setup do
|
||||
# Used only to speed up tests
|
||||
@original_min_cost = ActiveModel::SecurePassword.min_cost
|
||||
ActiveModel::SecurePassword.min_cost = true
|
||||
|
||||
|
|
Loading…
Reference in a new issue