class RuboCop::Cop::RSpec::ExampleWording

def replacement_text(node)

def replacement_text(node)
  text = text(node)
  if text.match?(SHOULD_PREFIX) || text.match?(WILL_PREFIX)
    RuboCop::RSpec::Wording.new(
      text,
      ignore:  ignored_words,
      replace: custom_transform
    ).rewrite
  else
    text.sub(IT_PREFIX, '')
  end
end