Skip to content

Commit

Permalink
Fix spec for chromedriver beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlakshya committed Aug 8, 2022
1 parent 14c30e6 commit cf7959b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/webdrivers/chromedriver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@
end

it 'raises VersionError for beta version' do
allow(chromedriver).to receive(:browser_version).and_return Gem::Version.new('100.0.0')
msg = 'Unable to find latest point release version for 100.0.0. '\
allow(chromedriver).to receive(:browser_version).and_return Gem::Version.new('999.0.0')
msg = 'Unable to find latest point release version for 999.0.0. '\
'You appear to be using a non-production version of Chrome. '\
'Please set `Webdrivers::Chromedriver.required_version = <desired driver version>` '\
'to a known chromedriver version: https://chromedriver.storage.googleapis.com/index.html'
Expand Down

0 comments on commit cf7959b

Please sign in to comment.