class Shoulda::Matchers::ActionController::PermitMatcher

def reality

def reality
  if actual_permitted_parameter_names.empty?
    'it did not restrict any parameters'
  else
    'the restricted parameters were '\
    "#{format_parameter_names(actual_permitted_parameter_names)}"\
    ' instead'
  end
end