This fixes issue #21 where the Service function prompts for a value for Should when a property of the service is not specified. This changes the behavior to default to checking the Status property.
With this change, either of these scenarios will produce the same test:
describe 'Services' {
service workstation status { should be running }
service workstation { should be running }
}
This fixes issue #21 where the
Service
function prompts for a value forShould
when a property of the service is not specified. This changes the behavior to default to checking theStatus
property.With this change, either of these scenarios will produce the same test: