diff options
author | Mike Mangino <mmangino@hubtran.com> | 2017-03-03 15:12:08 -0500 |
---|---|---|
committer | Mike Mangino <mmangino@hubtran.com> | 2017-03-03 15:12:08 -0500 |
commit | 53789f55cd48626e289f130aadd57618d8a73c8a (patch) | |
tree | 44ecf0441e0a430b8a94aaf868f55d9b9bcfaa79 /activemodel | |
parent | 1bb0605dfe09f654d9ad43a86b69183cd6f653f2 (diff) | |
download | rails-53789f55cd48626e289f130aadd57618d8a73c8a.tar.gz rails-53789f55cd48626e289f130aadd57618d8a73c8a.tar.bz2 rails-53789f55cd48626e289f130aadd57618d8a73c8a.zip |
Fix style
Diffstat (limited to 'activemodel')
-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 |