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

@@ -28,7 +28,7 @@ module ActiveModel
@serializer = ArraySerializer.new([@blog], serializer: CustomBlogSerializer)
@adapter = ActiveModel::Serializer::Adapter::Json.new(@serializer)
expected = {custom_blogs:[{
expected = {blogs:[{
id: 1,
special_attribute: "Special",
articles: [{id: 1,title: "Hello!!", body: "Hello, world!!"}, {id: 2, title: "New Post", body: "Body"}]