Skip to content

Commit

Permalink
Changed latest/canary naming usages in test suites
Browse files Browse the repository at this point in the history
refs #144

- Misc. changes for alliases used in naming for test suites instead of specific versions
  • Loading branch information
naz committed Sep 6, 2019
1 parent 05992d0 commit 7600139
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions test/001-deprecations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ describe('001 Deprecations', function () {
});
});

describe('latest version:', function () {
it('[failure] theme is completely invalid (v1 and latest)', function (done) {
describe('v2 version:', function () {
it('[failure] theme is completely invalid', function (done) {
utils.testCheck(thisCheck, '001-deprecations/v2/invalid_all').then(function (output) {
output.should.be.a.ValidThemeObject();

Expand Down Expand Up @@ -545,7 +545,7 @@ describe('001 Deprecations', function () {
}).catch(done);
});

it('[failure] theme is invalid for latest version', function (done) {
it('[failure] theme is invalid', function (done) {
utils.testCheck(thisCheck, '001-deprecations/v2/invalid').then(function (output) {
output.should.be.a.ValidThemeObject();

Expand Down Expand Up @@ -855,10 +855,10 @@ describe('001 Deprecations', function () {
});
});

describe('canary:', function () {
const options = {checkVersion: 'canary'};
describe('v3:', function () {
const options = {checkVersion: 'v3'};

it('[failure] theme is completely invalid (canary)', function (done) {
it('[failure] theme is completely invalid', function (done) {
utils.testCheck(thisCheck, '001-deprecations/v3/invalid_all', options).then(function (output) {
output.should.be.a.ValidThemeObject();

Expand Down Expand Up @@ -1228,7 +1228,7 @@ describe('001 Deprecations', function () {
}).catch(done);
});

it('[failure] theme is invalid for canary version', function (done) {
it('[failure] theme is invalid', function (done) {
utils.testCheck(thisCheck, '001-deprecations/v3/invalid', options).then(function (output) {
output.should.be.a.ValidThemeObject();

Expand Down
6 changes: 3 additions & 3 deletions test/010-package-json.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ describe('010 package.json', function () {
});
});

describe('latest version:', function () {
describe('v2:', function () {
it('valid fields', function (done) {
utils.testCheck(thisCheck, '010-packagejson/fields-are-valid').then(function (theme) {
theme.should.be.a.ValidThemeObject();
Expand Down Expand Up @@ -288,8 +288,8 @@ describe('010 package.json', function () {
});
});

describe('canary:', function () {
const options = {checkVersion: 'canary'};
describe('v3:', function () {
const options = {checkVersion: 'v3'};

it('valid fields', function (done) {
utils.testCheck(thisCheck, '010-packagejson/fields-are-valid', options).then(function (theme) {
Expand Down
6 changes: 3 additions & 3 deletions test/050-koenig-css-classes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('050 Koenig CSS classes', function () {
});
});

describe('latest version:', function () {
describe('v2:', function () {
it('[failure] should invalidate theme when .css file is missing', function (done) {
utils.testCheck(thisCheck, 'is-empty').then(function (output) {
output.should.be.a.ValidThemeObject();
Expand Down Expand Up @@ -96,8 +96,8 @@ describe('050 Koenig CSS classes', function () {
});
});

describe('canary:', function () {
const options = {checkVersion: 'canary'};
describe('v3:', function () {
const options = {checkVersion: 'v3'};

it('[failure] should invalidate theme when .css file is missing', function (done) {
utils.testCheck(thisCheck, 'is-empty', options).then(function (output) {
Expand Down

0 comments on commit 7600139

Please sign in to comment.