Use new deploy config so as not to update all other tests

This commit is contained in:
David Heinemeier Hansson
2024-10-02 17:34:13 -07:00
parent 82a436fa02
commit e5ca53db6e
3 changed files with 41 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ class CommanderTest < ActiveSupport::TestCase
configure_with(:deploy_with_single_accessory)
assert_equal [ "1.1.1.5" ], @kamal.accessory_hosts
configure_with(:deploy_with_accessories)
configure_with(:deploy_with_accessories_on_independent_server)
assert_equal [ "1.1.1.5", "1.1.1.1", "1.1.1.2" ], @kamal.accessory_hosts
end
@@ -163,7 +163,7 @@ class CommanderTest < ActiveSupport::TestCase
@kamal.specific_roles = [ "web" ]
assert_equal [], @kamal.accessory_hosts
configure_with(:deploy_with_accessories)
configure_with(:deploy_with_accessories_on_independent_server)
@kamal.specific_roles = [ "web" ]
assert_equal [ "1.1.1.1", "1.1.1.2" ], @kamal.accessory_hosts