add products

This commit is contained in:
2020-06-29 20:08:48 +02:00
parent dd7df2b28e
commit 525e465f5d
15 changed files with 120 additions and 97 deletions
@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | hinzufuegen', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<Hinzufuegen />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Hinzufuegen>
template block text
</Hinzufuegen>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});