Fix RuboCop linter failure
@@ -31,7 +31,7 @@ module Selenium
it 'converts noProxy from string to array' do
proxy = Selenium::WebDriver::Proxy.new(no_proxy: 'proxy_url, localhost')
caps = described_class.new(proxy: proxy)
- expect(caps.as_json['proxy']['noProxy']).to eq(['proxy_url', 'localhost'])
+ expect(caps.as_json['proxy']['noProxy']).to eq(%w[proxy_url localhost])
end
it 'does not convert noProxy if it is already array' do
