mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
commit
2dff5dc5cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue