Skip to content

Commit 48bd424

Browse files
authored
Update spec/rspec/rails/example/system_example_group_spec.rb
1 parent f399201 commit 48bd424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/rails/example/system_example_group_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module RSpec::Rails
7979
expect(example).to have_received(:driven_by).once
8080
end
8181

82-
it 'calls :served_by method only once' do
82+
it 'calls :served_by method only once', if: ::Rails::VERSION::STRING.to_f >= 7.2 do
8383
group = RSpec::Core::ExampleGroup.describe do
8484
include SystemExampleGroup
8585

0 commit comments

Comments
 (0)