提交 28b3582a 编写于 作者: L Leonel Galan

Fixes CodeClimate warnings

上级 7306fe36
......@@ -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|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册