mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Test for nil, people not likely to assign it false.
This commit is contained in:
parent
605ba70b11
commit
f7b4be4041
1 changed files with 2 additions and 2 deletions
|
@ -899,8 +899,8 @@ class CookiesTest < ActionController::TestCase
|
|||
assert_nil @response.cookies["foo"]
|
||||
end
|
||||
|
||||
def test_use_authenticated_cookie_encryption_uses_legacy_hmac_aes_cbc_encrypiton
|
||||
@request.env["action_dispatch.use_authenticated_cookie_encryption"] = false
|
||||
def test_use_authenticated_cookie_encryption_uses_legacy_hmac_aes_cbc_encryption_when_not_enabled
|
||||
@request.env["action_dispatch.use_authenticated_cookie_encryption"] = nil
|
||||
|
||||
key_generator = @request.env["action_dispatch.key_generator"]
|
||||
encrypted_cookie_salt = @request.env["action_dispatch.encrypted_cookie_salt"]
|
||||
|
|
Loading…
Reference in a new issue