fix: use the same method to trigger the client
This commit is contained in:
committed by
Michael Hobbs
parent
7d73577952
commit
690c32ceb8
@@ -23,7 +23,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "(client) no args should print help" {
|
||||
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app> \[.+\]'"
|
||||
run bash -c "${BATS_TEST_DIRNAME}/../../contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app> \[.+\]'"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
|
||||
Reference in New Issue
Block a user