diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-12-03 19:12:06 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2017-12-03 19:12:06 +0100 |
commit | c8f014ff1f68bca8deb22f57dd8c7fde9deb7030 (patch) | |
tree | 7c18168344bab6fc7eed8ce59b09d7a273ed0d08 /actionpack/test/dispatch/session | |
parent | 1e4621a8c07ee48d4a3ef7730bd591e3b2cbb690 (diff) | |
download | rails-c8f014ff1f68bca8deb22f57dd8c7fde9deb7030.tar.gz rails-c8f014ff1f68bca8deb22f57dd8c7fde9deb7030.tar.bz2 rails-c8f014ff1f68bca8deb22f57dd8c7fde9deb7030.zip |
Embrace the instantiation in loving parens <3
Diffstat (limited to 'actionpack/test/dispatch/session')
-rw-r--r-- | actionpack/test/dispatch/session/cookie_store_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/session/cookie_store_test.rb b/actionpack/test/dispatch/session/cookie_store_test.rb index 7f70961465..e34426a471 100644 --- a/actionpack/test/dispatch/session/cookie_store_test.rb +++ b/actionpack/test/dispatch/session/cookie_store_test.rb @@ -13,8 +13,9 @@ class CookieStoreTest < ActionDispatch::IntegrationTest Generator = ActiveSupport::KeyGenerator.new(SessionSecret, iterations: 1000) Rotations = ActiveSupport::Messages::RotationConfiguration.new - Encryptor = ActiveSupport::MessageEncryptor.new \ + Encryptor = ActiveSupport::MessageEncryptor.new( Generator.generate_key(SessionSalt, 32), cipher: "aes-256-gcm", serializer: Marshal + ) class TestController < ActionController::Base def no_session_access |