Skip to content

Commit

Permalink
Grunt pass
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information
rwaldron committed Jul 13, 2016
1 parent 6f4b42b commit fb487f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ exports['Tessel.prototype.restart'] = {
test.equal(options.lang.meta.name, 'javascript');

test.equal(this.simpleExec.callCount, 1);
test.deepEqual(this.simpleExec.lastCall.args[0], [ 'cat', '/tmp/remote-script/index.js' ]);
test.deepEqual(this.simpleExec.lastCall.args[0], ['cat', '/tmp/remote-script/index.js']);

test.done();
});
Expand Down Expand Up @@ -447,7 +447,7 @@ exports['Tessel.prototype.restart'] = {
test.equal(options.lang.meta.name, 'javascript');

test.equal(this.simpleExec.callCount, 1);
test.deepEqual(this.simpleExec.lastCall.args[0], [ 'cat', '/app/remote-script/index.js' ]);
test.deepEqual(this.simpleExec.lastCall.args[0], ['cat', '/app/remote-script/index.js']);

test.done();
});
Expand Down Expand Up @@ -502,9 +502,9 @@ exports['deploy.start'] = {
deploy.start(this.tessel, 'index.js')
.then(() => {
test.equal(this.simpleExec.callCount, 3);
test.deepEqual(this.simpleExec.firstCall.args[0], [ 'mv', '/tmp/remote-script/', '/app/' ]);
test.deepEqual(this.simpleExec.secondCall.args[0], [ '/etc/init.d/tessel-app', 'enable' ]);
test.deepEqual(this.simpleExec.thirdCall.args[0], [ '/etc/init.d/tessel-app', 'start' ]);
test.deepEqual(this.simpleExec.firstCall.args[0], ['mv', '/tmp/remote-script/', '/app/']);
test.deepEqual(this.simpleExec.secondCall.args[0], ['/etc/init.d/tessel-app', 'enable']);
test.deepEqual(this.simpleExec.thirdCall.args[0], ['/etc/init.d/tessel-app', 'start']);
test.done();
});
},
Expand Down

0 comments on commit fb487f9

Please sign in to comment.