This commit is contained in:
David Heinemeier Hansson
2023-03-24 15:27:11 +01:00
committed by GitHub
parent 65663ae2ea
commit 4fa71834ad

View File

@@ -60,7 +60,7 @@ class CommandsAppTest < ActiveSupport::TestCase
end end
test "stop with custom stop wait time" do test "stop with custom stop wait time" do
@config["stop_wait_time"] = 30 @config[:stop_wait_time] = 30
assert_equal \ assert_equal \
"docker ps --quiet --filter label=service=app --filter label=role=web | xargs docker stop -t 30", "docker ps --quiet --filter label=service=app --filter label=role=web | xargs docker stop -t 30",
new_command.stop.join(" ") new_command.stop.join(" ")