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

- old
+ new

@@ -23,11 +23,10 @@ end end def missing_separating_line(node) line = final_end_line = final_end_location(node).line - - while comment_line?(processed_source[line]) + while processed_source.line_with_comment?(line + 1) line += 1 comment = processed_source.comment_at_line(line) if DirectiveComment.new(comment).enabled? enable_directive_line = line end