Skip to content

Commit f9272b3

Browse files
committed
Add shared_context for Rails 8.0
Rails 8.0.0.beta1 has been released: https://github.com/rails/rails/releases/tag/v8.0.0.beta1
1 parent 466f764 commit f9272b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/support/shared_contexts.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@
3535
RSpec.shared_context 'with Rails 7.2', :rails72 do
3636
let(:rails_version) { 7.2 }
3737
end
38+
39+
RSpec.shared_context 'with Rails 8.0', :rails80 do
40+
let(:rails_version) { 8.0 }
41+
end

0 commit comments

Comments
 (0)