From 6b80463820fb5f075826ee7ff6f1547c67448c6d Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 12 Jan 2018 12:45:25 -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 165a7f4..cbd7c7f 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)