class RuboCop::Cop::InternalAffairs::EmptyLineBetweenExpectOffenseAndCorrection

Checks whether ‘expect_offense` and correction expectation methods (i.e. `expect_correction` and `expect_no_corrections`) are separated by empty line.

@example

# bad
it 'registers and corrects an offense' do
  expect_offense(<<~RUBY)
    bad_method
    ^^^^^^^^^^ Use `good_method`.
  RUBY
  expect_correction(<<~RUBY)
    good_method
  RUBY
end

# good
it 'registers and corrects an offense' do
  expect_offense(<<~RUBY)
    bad_method
    ^^^^^^^^^^ Use `good_method`.
  RUBY

  expect_correction(<<~RUBY)
    good_method
  RUBY
end