Skip to content

Commit

Permalink
Make 4.2.0 min for ember-cli-qunit with RFC232 / RFC268.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Dec 17, 2017
1 parent 02954d2 commit 13de868
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blueprints/test-framework-detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function(blueprint) {

} else if ('ember-cli-qunit' in dependencies) {
let checker = new VersionChecker(this.project);
if (fs.existsSync(this.path + '/qunit-rfc-232-files') && checker.for('ember-cli-qunit', 'npm').gte('4.1.1')) {
if (fs.existsSync(this.path + '/qunit-rfc-232-files') && checker.for('ember-cli-qunit', 'npm').gte('4.2.0')) {
type = 'qunit-rfc-232';
} else {
type = 'qunit';
Expand Down
8 changes: 4 additions & 4 deletions node-tests/blueprints/acceptance-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: acceptance-test', function() {
});
});

describe('with ember-cli-qunit@4.1.1', function() {
describe('with ember-cli-qunit@4.2.0', function() {
beforeEach(function() {
generateFakePackageManifest('ember-cli-qunit', '4.1.1');
generateFakePackageManifest('ember-cli-qunit', '4.2.0');
});

it('acceptance-test foo', function() {
Expand Down Expand Up @@ -83,9 +83,9 @@ describe('Blueprint: acceptance-test', function() {
});
});

describe('with ember-cli-qunit@4.1.1', function() {
describe('with ember-cli-qunit@4.2.0', function() {
beforeEach(function() {
generateFakePackageManifest('ember-cli-qunit', '4.1.1');
generateFakePackageManifest('ember-cli-qunit', '4.2.0');
});

it('acceptance-test foo', function() {
Expand Down

0 comments on commit 13de868

Please sign in to comment.