refactor: 💡 implement new pathing for users

This commit is contained in:
Randall Morey committed 2020-09-09 16:53:41 -04:00
1 parent e80708eeb4
commit 4a63c6484f
17 files changed
+154 -78

No files matched your search

@@ -25,7 +25,8 @@ module('Unit | Serializer | application', function (hooks) {
const serializedRecord = record.serialize();
assert.deepEqual(serializedRecord, {
name: 'User',
description: 'Description'
description: 'Description',
scope_id: 'global'
});
});
@@ -33,6 +34,7 @@ module('Unit | Serializer | application', function (hooks) {
assert.expect(2);
const store = this.owner.lookup('service:store');
const serializer = store.serializerFor('user');
serializer.serializeScopeID = false;
const record = store.createRecord('user', {
name: 'User',
description: 'Description',