From 2a2f8a7723a1180ece393dc93a2f687e5d81aec8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 12 Jan 2018 12:30:05 -0500 Subject: [PATCH] fix: correct tests for 0.7.0 --- tests/service_unlink.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/service_unlink.bats b/tests/service_unlink.bats index 2505a58..24aaca3 100755 --- a/tests/service_unlink.bats +++ b/tests/service_unlink.bats @@ -43,11 +43,13 @@ teardown() { check_value="" report_action="docker-options" if [[ "$(dokku version)" == "master" ]]; then - check_value="Deploy options: --restart=on-failure:10" + check_value="Docker options build: Docker options deploy: --restart=on-failure:10 Docker options run:" report_action="docker-options:report" elif [[ "$(at-least-version 0.8.1 "$(dokku version)")" == "true" ]]; then check_value="Docker options build: Docker options deploy: --restart=on-failure:10 Docker options run:" report_action="docker-options:report" + elif [[ "$(at-least-version 0.7.0 "$(dokku version)")" == "true" ]]; then + check_value="Deploy options: --restart=on-failure:10" fi options=$(dokku $report_action my_app | xargs)