class Shoulda::Matchers::ActionController::SetTheFlashMatcher

def string_value_matches?

def string_value_matches?
  return true unless String === @value
  flash.to_hash.values.any? {|value| value == @value }
end