aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authordixpac <dino.onex@gmail.com>2017-09-25 14:00:07 +0200
committerdixpac <dino.onex@gmail.com>2017-09-25 14:00:07 +0200
commit21b975cfd9c725c1fb0ad9a10709f4bf757c3e41 (patch)
tree286ec71334c85d6054c715eef43f1878a7e2a13a /activesupport/test
parentab08f33f312c20638b9a7c38ee6318727c7f107d (diff)
downloadrails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.tar.gz
rails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.tar.bz2
rails-21b975cfd9c725c1fb0ad9a10709f4bf757c3e41.zip
Fix minor CodeClimate issue
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/message_encryptor_test.rb2
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)