diff --git a/tests/service_unlink.bats b/tests/service_unlink.bats index b1fa6a3..127f5ae 100755 --- a/tests/service_unlink.bats +++ b/tests/service_unlink.bats @@ -51,3 +51,9 @@ teardown() { config=$(dokku config:get my-app STATSD_URL || true) assert_equal "$config" "" } + +@test "($PLUGIN_COMMAND_PREFIX:unlink) respects --no-restart" { + run dokku "$PLUGIN_COMMAND_PREFIX:unlink" ls my-app --no-restart + assert_output_contains "Restarting app my-app" 0 + assert_success +}