Drop run_directory configuration option

We need to drop to be fixed so multiple applications put the config in
the same place.
This commit is contained in:
Donal McBreen
2024-09-11 14:30:14 +01:00
parent dcd4778dd9
commit 27a7b339a6
3 changed files with 2 additions and 16 deletions

View File

@@ -12,10 +12,6 @@ class CommandsServerTest < ActiveSupport::TestCase
assert_equal "mkdir -p .kamal", new_command.ensure_run_directory.join(" ")
end
test "ensure non default run directory" do
assert_equal "mkdir -p /var/run/kamal", new_command(run_directory: "/var/run/kamal").ensure_run_directory.join(" ")
end
private
def new_command(extra_config = {})
Kamal::Commands::Server.new(Kamal::Configuration.new(@config.merge(extra_config)))