Skip to content

Commit 27c9a21

Browse files
committed
Fix a build error
This commit fixes the following build error: https://github.com/rubocop/rubocop-rails/actions/runs/12994004909/job/36237485832
1 parent c1b125e commit 27c9a21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
end
1616

1717
RSpec.configure do |config|
18+
# TODO: It can be removed when the oldest supported RuboCop version is greater than 1.71.0.
19+
# https://github.com/rubocop/rubocop/pull/13748
20+
config.include RuboCop::RSpec::ExpectOffense
21+
1822
config.shared_context_metadata_behavior = :apply_to_host_groups
1923
config.filter_run_when_matching :focus
2024
config.filter_run_excluding broken_on: :prism if ENV['PARSER_ENGINE'] == 'parser_prism'

0 commit comments

Comments
 (0)