Rename to Kamal
This commit is contained in:
@@ -2,36 +2,36 @@ require_relative "integration_test"
|
||||
|
||||
class TraefikTest < IntegrationTest
|
||||
test "boot, reboot, stop, start, restart, logs, remove" do
|
||||
mrsk :traefik, :boot
|
||||
kamal :traefik, :boot
|
||||
assert_traefik_running
|
||||
|
||||
mrsk :traefik, :reboot
|
||||
kamal :traefik, :reboot
|
||||
assert_traefik_running
|
||||
|
||||
mrsk :traefik, :boot
|
||||
kamal :traefik, :boot
|
||||
assert_traefik_running
|
||||
|
||||
# Check booting when booted doesn't raise an error
|
||||
mrsk :traefik, :stop
|
||||
kamal :traefik, :stop
|
||||
assert_traefik_not_running
|
||||
|
||||
# Check booting when stopped works
|
||||
mrsk :traefik, :boot
|
||||
kamal :traefik, :boot
|
||||
assert_traefik_running
|
||||
|
||||
mrsk :traefik, :stop
|
||||
kamal :traefik, :stop
|
||||
assert_traefik_not_running
|
||||
|
||||
mrsk :traefik, :start
|
||||
kamal :traefik, :start
|
||||
assert_traefik_running
|
||||
|
||||
mrsk :traefik, :restart
|
||||
kamal :traefik, :restart
|
||||
assert_traefik_running
|
||||
|
||||
logs = mrsk :traefik, :logs, capture: true
|
||||
logs = kamal :traefik, :logs, capture: true
|
||||
assert_match /Traefik version [\d.]+ built on/, logs
|
||||
|
||||
mrsk :traefik, :remove
|
||||
kamal :traefik, :remove
|
||||
assert_traefik_not_running
|
||||
end
|
||||
|
||||
@@ -45,6 +45,6 @@ class TraefikTest < IntegrationTest
|
||||
end
|
||||
|
||||
def traefik_details
|
||||
mrsk :traefik, :details, capture: true
|
||||
kamal :traefik, :details, capture: true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user