class RuboCop::Cop::RSpec::RedundantPredicateMatcher

def replaced_method_name(method_name)

def replaced_method_name(method_name)
  name = method_name.to_s.delete_prefix('be_')
  if name == 'exists'
    'exist'
  else
    name
  end
end