spec/serializer_spec.rb in jsonapi-serializers-0.6.4 vs spec/serializer_spec.rb in jsonapi-serializers-0.6.5
- old
+ new
@@ -312,10 +312,9 @@
post = create(:post)
primary_data = serialize_primary(post, {serializer: MyApp::EmptySerializer})
expect(primary_data).to eq({
'id' => '1',
'type' => 'posts',
- 'attributes' => {},
'links' => {
'self' => '/posts/1',
},
})
end