From 2ec99bc85381eef2ce3f4c5f06c39dd70e887b5f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 19 Aug 2018 21:33:28 -0400 Subject: [PATCH] hack: create the application after it gets destroyed --- tests/unit/10_ps-dockerfile.bats | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/10_ps-dockerfile.bats b/tests/unit/10_ps-dockerfile.bats index 1d7ff8862..513c32141 100644 --- a/tests/unit/10_ps-dockerfile.bats +++ b/tests/unit/10_ps-dockerfile.bats @@ -70,7 +70,7 @@ teardown() { done } -@test "(ps:scale) dockerfile" { +@test "(ps:scale) dockerfile non-existent process" { run bash -c "dokku ps:scale $TEST_APP non-existent=2" echo "output: "$output echo "status: "$status @@ -178,6 +178,9 @@ teardown() { echo "output: "$output echo "status: "$status assert_failure + + create_app + assert_success } @test "(ps:scale) dockerfile with procfile" {