2020-10-04 21:58:28 +00:00
|
|
|
import { module, test } from 'qunit';
|
|
|
|
import { setupTest } from 'ember-qunit';
|
|
|
|
|
2020-10-04 22:25:57 +00:00
|
|
|
module('Unit | Model | chapter', function(hooks) {
|
2020-10-04 21:58:28 +00:00
|
|
|
setupTest(hooks);
|
|
|
|
|
|
|
|
// Replace this with your real tests.
|
|
|
|
test('it exists', function(assert) {
|
|
|
|
let store = this.owner.lookup('service:store');
|
2020-10-04 22:25:57 +00:00
|
|
|
let model = store.createRecord('chapter', {});
|
2020-10-04 21:58:28 +00:00
|
|
|
assert.ok(model);
|
|
|
|
});
|
|
|
|
});
|