Skip to content

Commit

Permalink
[WIP] Attempt to fix CI failure
Browse files Browse the repository at this point in the history
Rails `main` is [currently][] set to `7.2.0.alpha`. However, `ci.yml`
uses `'main'` for the `RAILS_VERSION`.

[currently]: https://github.com/rails/rails/blob/5ab13c5a7798c2a9f96bebb1c68285dfb842d4f9/RAILS_VERSION
  • Loading branch information
stevepolitodesign committed Mar 18, 2024
1 parent 6f49c11 commit f122744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/example/system_example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def initialize(*args, &blk)
self.class.before do
# A user may have already set the driver, so only default if driver
# is not set
if ::Rails::VERSION::STRING.to_f >= 7.2
if ::Rails::VERSION::STRING == "main"
driven_by(:selenium_chrome_headless) unless @driver
else
driven_by(:selenium) unless @driver
Expand Down

0 comments on commit f122744

Please sign in to comment.