diff options
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/serialization_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/serialization_test.rb b/activemodel/test/cases/serialization_test.rb index 3446742d8c..215e4e66b7 100644 --- a/activemodel/test/cases/serialization_test.rb +++ b/activemodel/test/cases/serialization_test.rb @@ -176,6 +176,6 @@ class SerializationTest < ActiveModel::TestCase "address" => { "street" => "123 Lane" }, "friends" => [{ "name" => "Joe" }, { "name" => "Sue" }] } - assert_equal expected, @user.serializable_hash(include: [ address: { only: "street" } , friends: {only: "name"}]) + assert_equal expected, @user.serializable_hash(include: [ address: { only: "street" } , friends: { only: "name" }]) end end |