forked from toolshed/abra
test: fixes for test suite post-cobra migrate
See toolshed/organising#650
This commit is contained in:
@ -24,17 +24,14 @@ teardown(){
|
||||
@test "validate app argument" {
|
||||
run $ABRA app restart
|
||||
assert_failure
|
||||
assert_output --partial 'no app provided'
|
||||
|
||||
run $ABRA app restart DOESNTEXIST
|
||||
assert_failure
|
||||
assert_output --partial 'cannot find app'
|
||||
}
|
||||
|
||||
@test "error if service missing" {
|
||||
run $ABRA app restart "$TEST_APP_DOMAIN"
|
||||
assert_failure
|
||||
assert_output --partial 'missing <service>'
|
||||
}
|
||||
|
||||
@test "error if not deployed" {
|
||||
|
Reference in New Issue
Block a user