lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-2.18.1 vs lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-2.19.0

- old
+ new

@@ -86,10 +86,10 @@ corrector.replace(docstring, replacement_text(node)) end end def docstring(node) - expr = node.loc.expression + expr = node.source_range Parser::Source::Range.new( expr.source_buffer, expr.begin_pos + 1, expr.end_pos - 1