Skip to content

Commit 526b3b8

Browse files
committed
Add skip method
1 parent c93a057 commit 526b3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ruby/spec/drivers/options_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
driver.quit
3434
end
3535

36-
it 'sets remote capabilities' do
36+
it 'sets remote capabilities', skip: 'this is example code that will not execute' do
3737
options = Selenium::WebDriver::Options.firefox
3838
options.platform_name = 'Windows 10'
3939
options.browser_version = 'latest'
4040
cloud_options = {}
4141
cloud_options[:build] = my_test_build
4242
cloud_options[:name] = my_test_name
4343
options.add_option('cloud:options', cloud_options)
44-
driver = Selenium::WebDriver.for :remote, url: cloud_url, capabilities: options
44+
driver = Selenium::WebDriver.for :remote, capabilities: options
4545
driver.get('https://www.google.com')
4646
driver.quit
4747
end

0 commit comments

Comments
 (0)