updating tests

This commit is contained in:
João Moura
2015-07-10 12:02:24 -03:00
committed by João M. D. Moura
parent 418721302b
commit 9817a5b595
6 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ module ActiveModel
def test_json_serializable_hash
adapter = ActiveModel::Serializer::Adapter::Json.new(@blog_serializer)
assert_equal({alternate_blog: { id:1, title:"AMS Hints"}}, adapter.serializable_hash)
assert_equal({blog: { id:1, title:"AMS Hints"}}, adapter.serializable_hash)
end
def test_attribute_inheritance_with_key