lib/rubocop/cop/rspec/shared_examples.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/shared_examples.rb in rubocop-rspec-2.3.0
- old
+ new
@@ -21,9 +21,10 @@
# include_examples 'foo bar baz'
#
class SharedExamples < Base
extend AutoCorrector
+ # @!method shared_examples(node)
def_node_matcher :shared_examples,
send_pattern(
'{#SharedGroups.all #Includes.all}'
)