From cb0ad13278525dd0bf2db456ce757d7cabab8a1b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 3 Sep 2018 17:32:54 -0400 Subject: [PATCH] fix: proc check only works when there is Procfile available --- tests/unit/10_ps-dockerfile.bats | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/unit/10_ps-dockerfile.bats b/tests/unit/10_ps-dockerfile.bats index 29e9d39ee..fcb068b32 100644 --- a/tests/unit/10_ps-dockerfile.bats +++ b/tests/unit/10_ps-dockerfile.bats @@ -71,6 +71,14 @@ teardown() { } @test "(ps:scale) dockerfile non-existent process" { + run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2" + echo "output: $output" + echo "status: $status" + assert_success + + destroy_app + create_app + deploy_app dockerfile run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2" echo "output: $output" echo "status: $status"