Update Ember to 3.1
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:proposals/new', 'Unit | Controller | proposals/new', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
module('Unit | Controller | proposals/new', function(hooks) {
|
||||
setupTest(hooks);
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.owner.lookup('controller:proposals/new');
|
||||
assert.ok(controller);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user