test/unit/serializer/serializer_test.rb in jsonapi-resources-0.7.0 vs test/unit/serializer/serializer_test.rb in jsonapi-resources-0.7.1.beta1
- old
+ new
@@ -1636,15 +1636,9 @@
author: {
links: {
self: '/preferences/1/relationships/author',
related: '/preferences/1/author'
}
- },
- friends: {
- links: {
- self: '/preferences/1/relationships/friends',
- related: '/preferences/1/friends'
- }
}
}
}
},
JSONAPI::ResourceSerializer.new(PreferencesResource).serialize_to_hash(preferences)