13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
|
import { module, test } from 'qunit';
|
||
|
import { setupTest } from 'ember-qunit';
|
||
|
|
||
|
module('Unit | Model | rezepte', function(hooks) {
|
||
|
setupTest(hooks);
|
||
|
|
||
|
test('it has the right type', function(assert) {
|
||
|
let store = this.owner.lookup('service:store');
|
||
|
let model = store.createRecord('rezept', {titel: 'Testrezept'});
|
||
|
assert.ok(model);
|
||
|
});
|
||
|
});
|