Object
@private
# File lib/shoulda/matchers/active_model/validation_message_finder.rb, line 14 def allow_description(allowed_values) "allow #{@attribute} to be set to #{allowed_values}" end
# File lib/shoulda/matchers/active_model/validation_message_finder.rb, line 18 def expected_message_from(attribute_message) attribute_message end
# File lib/shoulda/matchers/active_model/validation_message_finder.rb, line 22 def has_messages? errors.present? end
# File lib/shoulda/matchers/active_model/validation_message_finder.rb, line 38 def messages Array(messages_for_attribute) end
Generated with the Darkfish Rdoc Generator 2.