update test
This commit is contained in:
parent
b8bd7a44a0
commit
d14943e95d
|
@ -5,7 +5,7 @@ var assert = require('assert');
|
|||
|
||||
describe('embark.Console', function() {
|
||||
var plugins = new Plugins({plugins: {}});
|
||||
var console = new Console({plugins: plugins});
|
||||
var console = new Console({plugins: plugins, version: '2.3.1'});
|
||||
|
||||
describe('#executeCmd', function() {
|
||||
|
||||
|
@ -14,7 +14,7 @@ describe('embark.Console', function() {
|
|||
it('it should provide a help text', function(done) {
|
||||
console.executeCmd('help', function(output) {
|
||||
var lines = output.split('\n');
|
||||
assert.equal(lines[0], 'Welcome to Embark 2');
|
||||
assert.equal(lines[0], 'Welcome to Embark 2.3.1');
|
||||
assert.equal(lines[2], 'possible commands are:');
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue