update test

This commit is contained in:
Iuri Matias 2017-02-15 21:13:45 -05:00
parent b8bd7a44a0
commit d14943e95d
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ var assert = require('assert');
describe('embark.Console', function() { describe('embark.Console', function() {
var plugins = new Plugins({plugins: {}}); var plugins = new Plugins({plugins: {}});
var console = new Console({plugins: plugins}); var console = new Console({plugins: plugins, version: '2.3.1'});
describe('#executeCmd', function() { describe('#executeCmd', function() {
@ -14,7 +14,7 @@ describe('embark.Console', function() {
it('it should provide a help text', function(done) { it('it should provide a help text', function(done) {
console.executeCmd('help', function(output) { console.executeCmd('help', function(output) {
var lines = output.split('\n'); 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:'); assert.equal(lines[2], 'possible commands are:');
done(); done();
}); });