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:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user