Add configuration option to disable automatic app creation

Fixes #2808
This commit is contained in:
Adel Qalieh
2017-10-20 23:25:58 -04:00
committed by Jose Diaz-Gonzalez
parent e9638a4d92
commit 86f917db79
3 changed files with 28 additions and 4 deletions

View File

@@ -70,3 +70,15 @@ teardown() {
echo "status: "$status
assert_output "herokuish"
}
@test "(build-env) app autocreate disabled" {
run dokku config:set --no-restart $TEST_APP DOKKU_DISABLE_APP_AUTOCREATION='true'
echo "output: "$output
echo "status: "$status
assert_success
run deploy_app
echo "output: "$output
echo "status: "$status
assert_failure
}