quote build_env vars

This commit is contained in:
Michael Hobbs
2014-12-22 15:52:33 -08:00
parent f5a5f7702b
commit c2911c94a8
2 changed files with 22 additions and 1 deletions

21
tests/unit/build-env.bats Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bats
load test_helper
setup() {
create_app
}
teardown() {
destroy_app
}
@test "build-env with special chars" {
run dokku config:set $TEST_APP NEWRELIC_APP_NAME="$TEST_APP (Staging)"
echo "output: "$output
echo "status: "$status
assert_success
deploy_app
run dokku config $TEST_APP
assert_success
}