Embrace the instantiation in loving parens <3

This commit is contained in:
Kasper Timm Hansen 2017-12-03 19:12:06 +01:00
parent 1e4621a8c0
commit c8f014ff1f
No known key found for this signature in database
GPG Key ID: 191153215EDA53D8
1 changed files with 2 additions and 1 deletions

View File

@ -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