Skip to content

Commit

Permalink
Disable InternalAffairs/NumblockHandler for spec/rubocop/cop/rspec/…
Browse files Browse the repository at this point in the history
…base_spec.rb
  • Loading branch information
ydah committed Aug 17, 2022
1 parent adb6784 commit 61696b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rspec/base_spec.rb
Expand Up @@ -81,7 +81,7 @@ def on_send(node)
before do
stub_const('RuboCop::RSpec::ExampleGroupHaterCop',
Class.new(described_class) do
def on_block(node)
def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
example_group?(node) do
add_offense(node, message: 'I flag example groups')
end
Expand Down

0 comments on commit 61696b7

Please sign in to comment.