File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
rb/spec/integration/selenium/webdriver Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module Chrome
29
29
after { service_manager . stop }
30
30
31
31
it 'auto uses chromedriver' do
32
- service . executable_path = DriverFinder . path ( Options . new , described_class )
32
+ service . executable_path = DriverFinder . new ( Options . new , described_class . new ) . driver_path
33
33
34
34
expect ( service_manager . uri ) . to be_a ( URI )
35
35
end
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module Edge
29
29
after { service_manager . stop }
30
30
31
31
it 'auto uses edgedriver' do
32
- service . executable_path = DriverFinder . path ( Options . new , described_class )
32
+ service . executable_path = DriverFinder . new ( Options . new , described_class . new ) . driver_path
33
33
34
34
expect ( service_manager . uri ) . to be_a ( URI )
35
35
end
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module Firefox
29
29
after { service_manager . stop }
30
30
31
31
it 'auto uses geckodriver' do
32
- service . executable_path = DriverFinder . path ( Options . new , described_class )
32
+ service . executable_path = DriverFinder . new ( Options . new , described_class . new ) . driver_path
33
33
34
34
expect ( service_manager . uri ) . to be_a ( URI )
35
35
end
You can’t perform that action at this time.
0 commit comments