class Shoulda::Matchers::ActiveModel::Validator
def messages_match?
def messages_match? has_messages? && type_of_message_matched? && matched_messages.compact.any? end
def messages_match? has_messages? && type_of_message_matched? && matched_messages.compact.any? end