lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.18.0 vs lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.19.0
- old
+ new
@@ -65,10 +65,10 @@
expr.source_buffer,
expr.begin_pos + 1,
expr.end_pos - 1
)
- add_offense(docstring, docstring, message)
+ add_offense(docstring, location: docstring, message: message)
end
def replacement_text(range)
text = range.source