Skip to content

Commit

Permalink
Add :rails71 shared context
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Jan 10, 2023
1 parent 7dc5ed7 commit c856fa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/support/shared_contexts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@
RSpec.shared_context 'with Rails 7.0', :rails70 do
let(:rails_version) { 7.0 }
end

RSpec.shared_context 'with Rails 7.1', :rails71 do
let(:rails_version) { 7.1 }
end

0 comments on commit c856fa1

Please sign in to comment.