Rename to Kamal

This commit is contained in:
David Heinemeier Hansson
2023-08-22 08:24:31 -07:00
parent e2c3709d74
commit c4a203e648
104 changed files with 870 additions and 870 deletions

View File

@@ -2,22 +2,22 @@ require_relative "integration_test"
class AccessoryTest < IntegrationTest
test "boot, stop, start, restart, logs, remove" do
mrsk :accessory, :boot, :busybox
kamal :accessory, :boot, :busybox
assert_accessory_running :busybox
mrsk :accessory, :stop, :busybox
kamal :accessory, :stop, :busybox
assert_accessory_not_running :busybox
mrsk :accessory, :start, :busybox
kamal :accessory, :start, :busybox
assert_accessory_running :busybox
mrsk :accessory, :restart, :busybox
kamal :accessory, :restart, :busybox
assert_accessory_running :busybox
logs = mrsk :accessory, :logs, :busybox, capture: true
logs = kamal :accessory, :logs, :busybox, capture: true
assert_match /Starting busybox.../, logs
mrsk :accessory, :remove, :busybox, "-y"
kamal :accessory, :remove, :busybox, "-y"
assert_accessory_not_running :busybox
end
@@ -31,6 +31,6 @@ class AccessoryTest < IntegrationTest
end
def accessory_details(name)
mrsk :accessory, :details, name, capture: true
kamal :accessory, :details, name, capture: true
end
end