We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6c6979 + c2eace3 commit f02f084Copy full SHA for f02f084
test/adapter/json_api/api_objects/relationship_test.rb
@@ -37,7 +37,7 @@ def test_relationship_with_nil_serializer
37
38
def test_relationship_with_data_array
39
posts = [Post.new(id: 1), Post.new(id: 2)]
40
- @serializer = ActiveModel::Serializer::ArraySerializer.new(posts)
+ @serializer = ActiveModel::Serializer::CollectionSerializer.new(posts)
41
@author.posts = posts
42
@author.blog = nil
43
expected = {
0 commit comments