Skip to content

Commit 79be0f2

Browse files
committed
Fix a build error
This commit fixes the following build error: https://github.com/rubocop/rubocop-performance/actions/runs/12994012963/job/36237512771
1 parent 959cc5f commit 79be0f2

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
@@ -9,6 +9,10 @@
99
end
1010

1111
RSpec.configure do |config|
12+
# TODO: It can be removed when the oldest supported RuboCop version is greater than 1.71.0.
13+
# https://github.com/rubocop/rubocop/pull/13748
14+
config.include RuboCop::RSpec::ExpectOffense
15+
1216
config.shared_context_metadata_behavior = :apply_to_host_groups
1317
config.filter_run_when_matching :focus
1418
config.filter_run_excluding broken_on: :prism if ENV['PARSER_ENGINE'] == 'parser_prism'

0 commit comments

Comments
 (0)