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 3c402e4
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 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
4 changes: 2 additions & 2 deletions node-tests/blueprints/component-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ describe('Blueprint: component-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('component-test x-foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/controller-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: controller-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('controller-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/helper-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ describe('Blueprint: helper-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('helper-test foo/bar-baz', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/initializer-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: initializer-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('initializer-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/instance-initializer-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: instance-initializer-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('instance-initializer-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/mixin-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ describe('Blueprint: mixin-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('mixin-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/route-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: route-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('route-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/service-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ describe('Blueprint: service-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('service-test foo', function() {
Expand Down
4 changes: 2 additions & 2 deletions node-tests/blueprints/util-test-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('Blueprint: util-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('util-test foo-bar', function() {
Expand Down

0 comments on commit 3c402e4

Please sign in to comment.