diff options
author | dixpac <dino.onex@gmail.com> | 2017-09-25 14:00:07 +0200 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2017-09-25 14:00:07 +0200 |
commit | 21b975cfd9c725c1fb0ad9a10709f4bf757c3e41 (patch) | |
tree | 286ec71334c85d6054c715eef43f1878a7e2a13a | |
parent | ab08f33f312c20638b9a7c38ee6318727c7f107d (diff) | |
download | rails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.tar.gz rails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.tar.bz2 rails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.zip |
Fix minor CodeClimate issue
-rw-r--r-- | activesupport/test/message_encryptor_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/message_encryptor_test.rb b/activesupport/test/message_encryptor_test.rb index 8fde3928dc..9edf07f762 100644 --- a/activesupport/test/message_encryptor_test.rb +++ b/activesupport/test/message_encryptor_test.rb @@ -201,7 +201,7 @@ class MessageEncryptorTest < ActiveSupport::TestCase end def secrets - @secrets ||= Hash.new { |h,k| h[k] = SecureRandom.random_bytes(32) } + @secrets ||= Hash.new { |h, k| h[k] = SecureRandom.random_bytes(32) } end def munge(base64_string) |