lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-1.9.1 vs lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-1.10.0

- old
+ new

@@ -85,13 +85,14 @@ source_map.selector.end_pos ) end def offense_message(offending_source) - MSG % { + format( + MSG, good: replacement_source(offending_source), bad: offending_source - } + ) end def replacement_source(offending_source) ENFORCED_REPLACEMENTS.fetch(offending_source) end