Rough cut: compare.
This commit is contained in:
parent
adda1291c6
commit
30f8e89c40
10 changed files with 140 additions and 9 deletions
10
tests/unit/helpers/get-property-test.js
Normal file
10
tests/unit/helpers/get-property-test.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { getProperty } from '../../../helpers/get-property';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Helper | get property');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
var result = getProperty(42);
|
||||
assert.ok(result);
|
||||
});
|
12
tests/unit/pods/compare/controller-test.js
Normal file
12
tests/unit/pods/compare/controller-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:compare', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
var controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
11
tests/unit/pods/compare/route-test.js
Normal file
11
tests/unit/pods/compare/route-test.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:compare', 'Unit | Route | compare', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
var route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
Reference in a new issue