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

@ -45,22 +45,22 @@ describe("Link/Unlink Commands", function() {
})
})
it('link non-existent service to servers', function() {
it('will not link non-existent service to servers', function() {
return doCommand('link service not-a-service server1 server2 server3 server4')
.should.be.rejected
})
it('link non-existent monitor to servers', function() {
it('will not link non-existent monitor to servers', function() {
return doCommand('link monitor not-a-monitor server1 server2 server3 server4')
.should.be.rejected
})
it('unlink non-existent service to servers', function() {
it('will not unlink non-existent service to servers', function() {
return doCommand('unlink service not-a-service server1 server2 server3 server4')
.should.be.rejected
})
it('unlink non-existent monitor to servers', function() {
it('will not unlink non-existent monitor to servers', function() {
return doCommand('unlink monitor not-a-monitor server1 server2 server3 server4')
.should.be.rejected
})