lib/rubocop/cop/rspec/yield.rb in rubocop-rspec-2.11.1 vs lib/rubocop/cop/rspec/yield.rb in rubocop-rspec-2.12.0
- old
+ new
@@ -42,10 +42,10 @@
private
def autocorrect(corrector, node, range)
corrector.replace(
- range_with_surrounding_space(range: range, side: :left),
+ range_with_surrounding_space(range, side: :left),
generate_replacement(node.body)
)
end
def calling_block?(node, block)