feat: validate app name when running git functions

This commit is contained in:
Jose Diaz-Gonzalez
2017-08-19 19:16:40 -04:00
parent 1a5bea6dde
commit ab11453fc8
2 changed files with 12 additions and 1 deletions

View File

@@ -97,3 +97,10 @@ build_nginx_config() {
echo "status: "$status
assert_success
}
@test "(core) git-remote (bad name)" {
run deploy_app nodejs-express ssh://dokku@127.0.0.1:22333/home/dokku/$TEST_APP
echo "output: "$output
echo "status: "$status
assert_failure
}