test: 💍 add tests for adapter and serializer scope options

This commit is contained in:
Randall Morey committed 2020-09-03 14:48:59 -04:00
1 parent bce27df1f4
commit 2eeb73b622
6 files changed
+76 -8

No files matched your search

@@ -15,6 +15,10 @@ module('Unit | Serializer | target', function(hooks) {
{ host_set_id: '1', host_catalog_id: '2' },
{ host_set_id: '3', host_catalog_id: '4' }
],
scope: {
scope_id: 'org_1',
type: 'org'
},
version: 1
});
const snapshot = record._createSnapshot();
@@ -24,7 +28,8 @@ module('Unit | Serializer | target', function(hooks) {
name: 'User',
description: 'Description',
version: 1,
protocol: null
protocol: null,
scope_id: 'org_1'
});
});