Embrace the instantiation in loving parens <3
This commit is contained in:
parent
1e4621a8c0
commit
c8f014ff1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue