Skip to content

Commit

Permalink
Merge pull request #17222 from jamescdavis/instance-initializer-test_…
Browse files Browse the repository at this point in the history
…blueprint_explicit_qunit_version

Make instance-initializer-test blueprint test explicit about QUnit version
  • Loading branch information
rwjblue authored Nov 23, 2018
2 parents 370e6ca + a9fa969 commit 84cf9c8
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions node-tests/blueprints/instance-initializer-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,17 @@ describe('Blueprint: instance-initializer-test', function() {
return emberNew({ target: 'addon' });
});

it('instance-initializer-test foo', function() {
return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
expect(_file('tests/unit/instance-initializers/foo-test.js')).to.equal(
fixture('instance-initializer-test/dummy.js')
);
describe('with ember-cli-qunit@4.1.0', function() {
beforeEach(function() {
generateFakePackageManifest('ember-cli-qunit', '4.1.0');
});

it('instance-initializer-test foo', function() {
return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
expect(_file('tests/unit/instance-initializers/foo-test.js')).to.equal(
fixture('instance-initializer-test/dummy.js')
);
});
});
});
});
Expand Down

0 comments on commit 84cf9c8

Please sign in to comment.