Skip to content

Commit 7266e77

Browse files
committed
use exclude
1 parent 37c7031 commit 7266e77

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: rb/spec/integration/selenium/webdriver/driver_spec.rb

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
module Selenium
2323
module WebDriver
2424
describe Driver, exclusive: {bidi: false, reason: 'Not yet implemented with BiDi'} do
25-
it_behaves_like 'driver that can be started concurrently',
26-
exclude: {browser: %i[safari safari_preview]},
27-
except: {driver: 'remote', rbe: true, reason: 'Cannot start 2+ drivers at once.'}
25+
it_behaves_like 'driver that can be started concurrently', exclude: [
26+
{browser: %i[safari safari_preview]},
27+
{driver: 'remote', rbe: true, reason: 'Cannot start 2+ drivers at once.'}
28+
]
2829

2930
it 'creates default capabilities', exclude: {browser: %i[safari safari_preview]} do
3031
reset_driver! do |driver|

Diff for: rb/spec/integration/selenium/webdriver/firefox/profile_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module Firefox
3737
end
3838

3939
it 'is able to use the same profile more than once',
40-
except: {driver: 'remote', rbe: true, reason: 'Cannot start 2+ drivers at once.'} do
40+
exclude: {driver: 'remote', rbe: true, reason: 'Cannot start 2+ drivers at once.'} do
4141
reset_driver!(profile: profile) do |driver1|
4242
expect { wait(5).until { driver1.find_element(id: 'oneline') } }.not_to raise_error
4343
reset_driver!(profile: profile) do |driver2|

0 commit comments

Comments
 (0)