mirror of https://github.com/embarklabs/embark.git
update test
This commit is contained in:
parent
b8bd7a44a0
commit
d14943e95d
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue