test/unit/serializer/polymorphic_serializer_test.rb in jsonapi-resources-0.6.0 vs test/unit/serializer/polymorphic_serializer_test.rb in jsonapi-resources-0.6.1
- old
+ new
@@ -86,11 +86,11 @@
links: {
self: '/cars/1'
},
attributes: {
make: 'Mazda',
- vehicleModel: 'Miata MX5',
+ model: 'Miata MX5',
driveLayout: 'Front Engine RWD',
serialNumber: '32432adfsfdysua'
},
relationships: {
person: {
@@ -107,10 +107,10 @@
links: {
self: '/boats/2'
},
attributes: {
make: 'Chris-Craft',
- vehicleModel: 'Launch 20',
+ model: 'Launch 20',
lengthAtWaterLine: '15.5ft',
serialNumber: '434253JJJSD'
},
relationships: {
person: {