Updated accessory proxy to support hosts option

This commit is contained in:
Igor Alexandrov
2024-10-09 14:06:38 +04:00
parent 9204624752
commit f52826b2d6
3 changed files with 8 additions and 3 deletions

View File

@@ -167,6 +167,6 @@ class ConfigurationAccessoryTest < ActiveSupport::TestCase
test "proxy" do
assert @config.accessory(:monitoring).running_proxy?
assert_equal "monitoring.example.com", @config.accessory(:monitoring).proxy.host
assert_equal [ "monitoring.example.com" ], @config.accessory(:monitoring).proxy.hosts
end
end