Skip to content

Commit

Permalink
fix(tests): do not assert on current cli version
Browse files Browse the repository at this point in the history
  • Loading branch information
aileen committed Apr 11, 2018
1 parent 1b27371 commit 839a363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/utils/version-from-zip-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('Unit: Utils > versionFromZip', function () {
}).catch((error) => {
expect(error).to.be.an.instanceof(errors.SystemError);
expect(error.message).to.equal('Zip file contains a Ghost version incompatible with this version of the CLI.');
expect(error.options.help).to.equal('Required: v^0.0.1, current: v1.7.0');
expect(error.options.help).to.match(/Required: v\^0\.0\.1, current: v/);
expect(error.options.suggestion).to.equal('npm install -g ghost-cli@latest');
});
});
Expand Down

0 comments on commit 839a363

Please sign in to comment.