1
0
Fork 0
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:
Yves Senn 2014-03-11 08:34:51 +01:00
parent 3f5339f48e
commit 6868265fe3

View file

@ -4,6 +4,7 @@ require 'models/visitor'
class SecurePasswordTest < ActiveModel::TestCase class SecurePasswordTest < ActiveModel::TestCase
setup do setup do
# Used only to speed up tests
@original_min_cost = ActiveModel::SecurePassword.min_cost @original_min_cost = ActiveModel::SecurePassword.min_cost
ActiveModel::SecurePassword.min_cost = true ActiveModel::SecurePassword.min_cost = true