Add SSH port option

This commit is contained in:
Leon
2023-10-01 13:59:48 +02:00
parent 8f53104d00
commit 792aa1dbdf
3 changed files with 9 additions and 2 deletions

View File

@@ -22,6 +22,9 @@ class ConfigurationSshTest < ActiveSupport::TestCase
config = Kamal::Configuration.new(@deploy.tap { |c| c.merge!(ssh: { "log_level" => "debug" }) })
assert_equal 0, config.ssh.options[:logger].level
config = Kamal::Configuration.new(@deploy.tap { |c| c.merge!(ssh: { "port" => 2222 }) })
assert_equal 2222, config.ssh.options[:port]
end
test "ssh options with proxy host" do