Improve MaxCtrl test coverage

A few missing cases that simple to solve were reported by the coverage
tool.
This commit is contained in:
Markus Mäkelä
2018-08-10 21:46:38 +03:00
parent 46dee98b25
commit 57471c7baa
5 changed files with 32 additions and 1 deletions

View File

@ -70,6 +70,11 @@ describe("Library invocation", function() {
.should.be.fulfilled
})
it('no command', function() {
return ctrl.execute([], {})
.should.be.rejected
})
it('reject on connection failure', function() {
stopMaxScale()
.then(function() {