Skip to content

Commit c92b441

Browse files
cibernoxRobert Jackson
authored andcommitted
Add tests for subject transformation
Closes #9
1 parent 71fb433 commit c92b441

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { moduleFor, test } from 'ember-qunit';
2+
3+
moduleFor('service:flash', 'Unit | Service | Flash', {
4+
unit: true
5+
});
6+
7+
test('should allow messages to be queued', function (assert) {
8+
let subject = this.subject();
9+
});
10+
11+
moduleFor('model:foo', 'Unit | Model | Foo', {
12+
unit: true
13+
});
14+
15+
test('should allow messages to be queued', function (assert) {
16+
let subject = this.subject();
17+
});
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { module, test } from 'qunit';
2+
import { setupTest } from 'ember-qunit';
3+
4+
module('Unit | Service | Flash', function(hooks) {
5+
setupTest(hooks);
6+
7+
test('should allow messages to be queued', function (assert) {
8+
let subject = this.owner.lookup('service:flash');
9+
});
10+
});
11+
12+
module('Unit | Model | Foo', function(hooks) {
13+
setupTest(hooks);
14+
15+
test('should allow messages to be queued', function (assert) {
16+
let subject = this.owner.factoryFor('model:foo').create();
17+
});
18+
});

0 commit comments

Comments
 (0)