Permalink
Browse files

Fix 1.8 syntax on test

  • Loading branch information...
1 parent 1155123 commit b26fc9697bad0c17157b4f9e37da61429241636d @arthurnn arthurnn committed Feb 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parameters_permit_test.rb
View
2 test/parameters_permit_test.rb
@@ -341,7 +341,7 @@ def assert_filtered_out(params, key)
end
test 'hashes in array values get wrapped' do
- params = ActionController::Parameters.new(foo: [{}, {}])
+ params = ActionController::Parameters.new(:foo => [{}, {}])
params[:foo].each do |hash|
assert !hash.permitted?
end

0 comments on commit b26fc96

Please sign in to comment.