MXS-1300: Correct test case descriptions

The test descriptions now describe the expected logical outcome of the
test, not the operation being done.
This commit is contained in:
Markus Mäkelä
2017-08-08 11:43:16 +03:00
parent d64cb9fa80
commit 80569dd5a9
7 changed files with 32 additions and 32 deletions

View File

@ -58,7 +58,7 @@ describe("Library invocation", function() {
.should.be.fulfilled
})
it('bad user credentials', function() {
it('reject on bad user credentials', function() {
var opts = { extra_args: [ '--quiet', '--user', 'not-a-user', '--password', 'not-a-password'] }
return ctrl.execute('list servers'.split(' '), opts)
.should.be.rejected
@ -70,7 +70,7 @@ describe("Library invocation", function() {
.should.be.fulfilled
})
it('connection failure', function() {
it('reject on connection failure', function() {
stopMaxScale()
.then(function() {
return ctrl.execute('list servers'.split(' '))