Skip to content

Commit 4564880

Browse files
committed
[rb] fix safari tests
1 parent 49fb529 commit 4564880

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rb/spec/unit/selenium/webdriver/safari/driver_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def expect_request(body: nil, endpoint: nil)
9595
end
9696

9797
context 'with :capabilities' do
98+
before { allow(DriverFinder).to receive(:path) }
99+
98100
it 'accepts value as a Symbol' do
99101
expect_request(body: {capabilities: {alwaysMatch: {browserName: 'safari'}}})
100102
expect { described_class.new(capabilities: :safari) }.to have_deprecated(:capabilities)

0 commit comments

Comments
 (0)