lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.2.1 vs lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.2.2

- old
+ new

@@ -26,10 +26,10 @@ return unless method_name == :it arguments = *(args.first) message = arguments.first.to_s - return unless message.start_with?('should') + return unless message.downcase.start_with?('should') arg1 = args.first.loc.expression message = Parser::Source::Range .new(arg1.source_buffer, arg1.begin_pos + 1, arg1.end_pos - 1)