lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.0.1

- old
+ new

@@ -51,14 +51,11 @@ # end # class SharedContext < Base extend AutoCorrector - MSG_EXAMPLES = "Use `shared_examples` when you don't "\ - 'define context.' - - MSG_CONTEXT = "Use `shared_context` when you don't "\ - 'define examples.' + MSG_EXAMPLES = "Use `shared_examples` when you don't define context." + MSG_CONTEXT = "Use `shared_context` when you don't define examples." def_node_search :examples?, send_pattern('{#Includes.examples #Examples.all}') def_node_search :context?, <<-PATTERN