lib/rubocop/cop/rspec/shared_examples.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/shared_examples.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -18,10 +18,10 @@
# it_should_behave_like 'foo bar baz'
# shared_examples 'foo bar baz'
# shared_examples_for 'foo bar baz'
# include_examples 'foo bar baz'
#
- class SharedExamples < Cop
+ class SharedExamples < Base
extend AutoCorrector
def_node_matcher :shared_examples,
(SharedGroups::ALL + Includes::ALL).send_pattern