Skip to content

Commit

Permalink
Merge pull request #2275 from rspec/use-latest-rails
Browse files Browse the repository at this point in the history
Use Rails 6 by default when running Rake
  • Loading branch information
JonRowe authored Feb 5, 2020
2 parents bd54ec4 + 7e613fa commit e69be80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
end

Cucumber::Rake::Task.new(:cucumber) do |t|
version = ENV.fetch("RAILS_VERSION", "~> 5.2.0")[/\d[\.-]\d/]
version = ENV.fetch("RAILS_VERSION", "~> 6.0.0")[/\d[\.-]\d/]
if version == "master" || version.nil?
version = Float::INFINITY
end
Expand Down

0 comments on commit e69be80

Please sign in to comment.