Use default verbosity for hooks

This commit is contained in:
Donal McBreen
2024-04-02 09:44:00 +01:00
parent 2562853ae3
commit 82962c375d
4 changed files with 9 additions and 9 deletions

View File

@@ -7,13 +7,13 @@ class TraefikTest < IntegrationTest
kamal :traefik, :boot
assert_traefik_running
output = kamal :traefik, :reboot, "-y", capture: true
output = kamal :traefik, :reboot, "-y", "--verbose", capture: true
assert_traefik_running
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
assert_match /Rebooting Traefik on vm1,vm2.../, output
assert_match /Rebooted Traefik on vm1,vm2/, output
output = kamal :traefik, :reboot, :"--rolling", "-y", capture: true
output = kamal :traefik, :reboot, "--rolling", "-y", "--verbose", capture: true
assert_traefik_running
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
assert_match /Rebooting Traefik on vm1.../, output