Skip to content

Commit f02f084

Browse files
committed
Merge pull request #1525 from groyoh/remove_warning_message
Fix deprecation warning
2 parents a6c6979 + c2eace3 commit f02f084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/adapter/json_api/api_objects/relationship_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_relationship_with_nil_serializer
3737

3838
def test_relationship_with_data_array
3939
posts = [Post.new(id: 1), Post.new(id: 2)]
40-
@serializer = ActiveModel::Serializer::ArraySerializer.new(posts)
40+
@serializer = ActiveModel::Serializer::CollectionSerializer.new(posts)
4141
@author.posts = posts
4242
@author.blog = nil
4343
expected = {

0 commit comments

Comments
 (0)