This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #190 from arthurnn/fix_test_18

Fix 1.8 syntax on test
  • Loading branch information...
2 parents 1155123 + b26fc96 commit 405089fd3559a1ef1ab91dc87ba47726fe1d82b2 @guilleiguaran guilleiguaran committed Feb 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 405089f

Please sign in to comment.