Skip to content

Commit

Permalink
Merge pull request #17206 from simonihmig/service-blueprint
Browse files Browse the repository at this point in the history
Make service blueprint test explicit about QUnit version
  • Loading branch information
rwjblue authored Nov 13, 2018
2 parents abdce14 + fe2a212 commit 380ab98
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions node-tests/blueprints/service-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ describe('Blueprint: service', function() {

describe('in app - module unification', function() {
beforeEach(function() {
return emberNew().then(() => fs.ensureDirSync('src'));
return emberNew()
.then(() => fs.ensureDirSync('src'))
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});

it('service foo', function() {
Expand Down Expand Up @@ -124,7 +126,9 @@ describe('Blueprint: service', function() {

describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' });
return emberNew({ target: 'addon' }).then(() =>
generateFakePackageManifest('ember-cli-qunit', '4.1.0')
);
});

it('service foo', function() {
Expand Down Expand Up @@ -158,7 +162,9 @@ describe('Blueprint: service', function() {

describe('in addon - module unification', function() {
beforeEach(function() {
return emberNew({ target: 'addon' }).then(() => fs.ensureDirSync('src'));
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});

it('service foo', function() {
Expand Down Expand Up @@ -186,7 +192,9 @@ describe('Blueprint: service', function() {

describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' });
return emberNew({ target: 'in-repo-addon' }).then(() =>
generateFakePackageManifest('ember-cli-qunit', '4.1.0')
);
});

it('service foo --in-repo-addon=my-addon', function() {
Expand Down

0 comments on commit 380ab98

Please sign in to comment.