Update test to not depend on passing named arguments via Herokuish

There may be a bug in Herokuish that messes up with quoted named
arguments, see discussion in
https://github.com/dokku/dokku/pull/2018
This commit is contained in:
Pascal Widdershoven
2016-03-24 07:34:43 +01:00
parent e64daa18cf
commit 6548cc4477
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
cron: node worker.js
web: node web.js
worker: node worker.js
console: bash
custom: echo -n
# Old version with separate processes (use this if you have issues with the threaded version)

View File

@@ -130,12 +130,12 @@ build_nginx_config() {
@test "(core) run command from Procfile" {
deploy_app
run /bin/bash -c "dokku run $TEST_APP console -c 'echo hi' | tail -n 1"
run /bin/bash -c "dokku run $TEST_APP custom 'hi dokku' | tail -n 1"
echo "output: "$output
echo "status: "$status
assert_success
assert_output "hi"
assert_output 'hi dokku'
}
@test "(core) port exposure (dockerfile raw port)" {