lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.13.0

- old
+ new

@@ -77,10 +77,10 @@ block_pattern('#SharedGroups.context') # @!method shared_example(node) def_node_matcher :shared_example, block_pattern('#SharedGroups.examples') - def on_block(node) + def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler context_with_only_examples(node) do add_offense(node.send_node, message: MSG_EXAMPLES) do |corrector| corrector.replace(node.send_node.loc.selector, 'shared_examples') end end