diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/parameters/nested_parameters_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/parameters/nested_parameters_test.rb b/actionpack/test/controller/parameters/nested_parameters_test.rb index ea67126cc5..41f5b6e127 100644 --- a/actionpack/test/controller/parameters/nested_parameters_test.rb +++ b/actionpack/test/controller/parameters/nested_parameters_test.rb @@ -28,7 +28,7 @@ class NestedParametersTest < ActiveSupport::TestCase assert_equal "Christopher Marlowe", permitted[:book][:authors][1][:name] assert_equal 200, permitted[:book][:details][:pages] assert_nil permitted[:book][:details][:genre] - assert_nil permitted[:book][:authors][1][:born] + assert_nil permitted[:book][:authors][0][:born] assert_nil permitted[:magazine] end |