Chore/update model names (#125)
* chore: 🤖 Rename recording to session-recording * chore: 🤖 Update names for connection models * chore: 🤖 Update channel models to new name * chore: 🤖 Update remaining models after merge conflict
This commit is contained in:
1 parent
24f50b3e2d
commit
d08ce29e5a
46 files changed
+442
-372
No files matched your search
+3
-3
@@ -1,20 +1,20 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module('Unit | Serializer | recording', function (hooks) {
|
||||
module('Unit | Serializer | connection-recording-recording', function (hooks) {
|
||||
setupTest(hooks);
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function (assert) {
|
||||
let store = this.owner.lookup('service:store');
|
||||
let serializer = store.serializerFor('recording');
|
||||
let serializer = store.serializerFor('connection-recording');
|
||||
|
||||
assert.ok(serializer);
|
||||
});
|
||||
|
||||
test('it serializes records', function (assert) {
|
||||
let store = this.owner.lookup('service:store');
|
||||
let record = store.createRecord('recording', {});
|
||||
let record = store.createRecord('connection-recording', {});
|
||||
|
||||
let serializedRecord = record.serialize();
|
||||
|
||||
+3
-3
@@ -1,20 +1,20 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module('Unit | Serializer | connection', function (hooks) {
|
||||
module('Unit | Serializer | session-recording', function (hooks) {
|
||||
setupTest(hooks);
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function (assert) {
|
||||
let store = this.owner.lookup('service:store');
|
||||
let serializer = store.serializerFor('connection');
|
||||
let serializer = store.serializerFor('session-recording');
|
||||
|
||||
assert.ok(serializer);
|
||||
});
|
||||
|
||||
test('it serializes records', function (assert) {
|
||||
let store = this.owner.lookup('service:store');
|
||||
let record = store.createRecord('connection', {});
|
||||
let record = store.createRecord('session-recording', {});
|
||||
|
||||
let serializedRecord = record.serialize();
|
||||
|
||||
Reference in new issue
Block a user