module RuboCop::Cop::RSpec::ExplicitHelper

def replacement_matcher(node)

def replacement_matcher(node)
  case [cop_config['Strict'], node.method?(:to)]
  when [true, true]
    'be(true)'
  when [true, false]
    'be(false)'
  when [false, true]
    'be_truthy'
  else
    'be_falsey'
  end
end