Skip to content

Commit 11bdccc

Browse files
committed
Fix RuboCop linter failure
1 parent 62744b3 commit 11bdccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/spec/unit/selenium/webdriver/remote/w3c/capabilities_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module W3C
3131
it 'converts noProxy from string to array' do
3232
proxy = Selenium::WebDriver::Proxy.new(no_proxy: 'proxy_url, localhost')
3333
caps = described_class.new(proxy: proxy)
34-
expect(caps.as_json['proxy']['noProxy']).to eq(['proxy_url', 'localhost'])
34+
expect(caps.as_json['proxy']['noProxy']).to eq(%w[proxy_url localhost])
3535
end
3636

3737
it 'does not convert noProxy if it is already array' do

0 commit comments

Comments
 (0)