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

@ -10,12 +10,12 @@ describe("Module Commands", function() {
})
})
it('call command with missing parameters', function() {
it('will not call command with missing parameters', function() {
return doCommand('call command qlafilter log')
.should.be.rejected
})
it('call command with too many parameters', function() {
it('will not call command with too many parameters', function() {
return doCommand('call command qlafilter log QLA too many arguments for this command')
.should.be.rejected
})