diff options
author | Leonel Galan <leonelgalan@gmail.com> | 2017-02-13 20:16:03 -0500 |
---|---|---|
committer | Leonel Galan <leonelgalan@gmail.com> | 2017-02-13 20:16:03 -0500 |
commit | 28b3582aa2cd6007c708134b911b3f360ad5d659 (patch) | |
tree | b089d41fee724b672607953c6987da98b2419134 | |
parent | 7306fe362b665b4aed1dd9de4035af9dad7137a6 (diff) | |
download | rails-28b3582aa2cd6007c708134b911b3f360ad5d659.tar.gz rails-28b3582aa2cd6007c708134b911b3f360ad5d659.tar.bz2 rails-28b3582aa2cd6007c708134b911b3f360ad5d659.zip |
Fixes CodeClimate warnings
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index baa4a0b3b4..7e194c5d8b 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -1100,8 +1100,8 @@ class RequestParameterFilter < BaseRequestTest test "parameter filter should maintain hash with indifferent access" do test_hashes = [ - [{'foo'=>'bar'}.with_indifferent_access, %w'food'], - [{'foo'=>'bar'}.with_indifferent_access, []] + [{ "foo" => "bar" }.with_indifferent_access, ["blah"]], + [{ "foo" => "bar" }.with_indifferent_access, []] ] test_hashes.each do |before_filter, filter_words| |