We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62744b3 commit 11bdcccCopy full SHA for 11bdccc
rb/spec/unit/selenium/webdriver/remote/w3c/capabilities_spec.rb
@@ -31,7 +31,7 @@ module W3C
31
it 'converts noProxy from string to array' do
32
proxy = Selenium::WebDriver::Proxy.new(no_proxy: 'proxy_url, localhost')
33
caps = described_class.new(proxy: proxy)
34
- expect(caps.as_json['proxy']['noProxy']).to eq(['proxy_url', 'localhost'])
+ expect(caps.as_json['proxy']['noProxy']).to eq(%w[proxy_url localhost])
35
end
36
37
it 'does not convert noProxy if it is already array' do
0 commit comments