lib/rubocop/cop/rspec/it_behaves_like.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/it_behaves_like.rb in rubocop-rspec-2.3.0

- old
+ new

@@ -24,9 +24,10 @@ MSG = 'Prefer `%<replacement>s` over `%<original>s` when including ' \ 'examples in a nested context.' RESTRICT_ON_SEND = %i[it_behaves_like it_should_behave_like].freeze + # @!method example_inclusion_offense(node) def_node_matcher :example_inclusion_offense, '(send _ % ...)' def on_send(node) example_inclusion_offense(node, alternative_style) do add_offense(node) do |corrector|