presentation version
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module('Unit | Model | produkte', function(hooks) {
|
||||
setupTest(hooks);
|
||||
|
||||
test('it has the right type', function(assert) {
|
||||
let store = this.owner.lookup('service:store');
|
||||
let model = store.createRecord('produkt', {titel: 'Testprodukt'});
|
||||
assert.ok(model);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user