fix: ensure we can deploy code when there is no pre or post-deploy script defined

Closes #3385
This commit is contained in:
Jose Diaz-Gonzalez
2019-01-09 07:42:16 -05:00
parent 924287c04f
commit 4ae280528e
8 changed files with 104 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ teardown() {
}
@test "(app-json) app.json scripts" {
deploy_app
deploy_app nodejs-express
run /bin/bash -c "dokku run $TEST_APP ls /app/prebuild.test"
echo "output: $output"
@@ -36,3 +36,11 @@ teardown() {
echo "status: $status"
assert_success
}
@test "(app-json) app.json scripts missing" {
deploy_app nodejs-express-noappjson
echo "output: $output"
echo "status: $status"
assert_success
}