diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-09-25 20:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 20:45:33 +0200 |
commit | 686168f5cbdf545c97ebe0f69512dc4a35d25abd (patch) | |
tree | 1cbcf382cf880667e2f3b7e3eb14496292a84fcf | |
parent | 1fa268bfa5667a0e9ddbfda243b5282c023ab9ad (diff) | |
parent | 21b975cfd9c725c1fb0ad9a10709f4bf757c3e41 (diff) | |
download | rails-686168f5cbdf545c97ebe0f69512dc4a35d25abd.tar.gz rails-686168f5cbdf545c97ebe0f69512dc4a35d25abd.tar.bz2 rails-686168f5cbdf545c97ebe0f69512dc4a35d25abd.zip |
Merge pull request #30703 from dixpac/fix_minor_code_climate_issue
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) |