refactor: Refactor seralizeScopeID from models to serializers
This commit is contained in:
11 files changed
+63
-30
No files matched your search
@@ -62,7 +62,7 @@ module('Unit | Serializer | application', function (hooks) {
|
||||
},
|
||||
});
|
||||
const snapshot = record._createSnapshot();
|
||||
snapshot.record.serializeScopeID = false;
|
||||
serializer.serializeScopeID = false;
|
||||
const serializedRecord = serializer.serialize(snapshot);
|
||||
assert.deepEqual(serializedRecord, {
|
||||
name: 'User',
|
||||
|
||||
Reference in new issue
Block a user