class RuboCop::RSpec::Corrector::MoveNode
def move_before(other)
def move_before(other) position = start_line_position(other) corrector.insert_before(position, "#{source(original)}\n") corrector.remove(node_range_with_surrounding_space(original)) end