module Easy::Matchers::Validations
Public Instance Methods
validate_absence_of(*attributes)
click to toggle source
# File lib/matchers/validations/absence_of.rb, line 4 def validate_absence_of(*attributes) ValidateAbsenceOfMatcher.new(attributes) end
validate_acceptance_of(*attributes)
click to toggle source
# File lib/matchers/validations/acceptance_of.rb, line 4 def validate_acceptance_of(*attributes) ValidateAcceptanceOfMatcher.new(attributes) end
validate_confirmation_of(*attributes)
click to toggle source
# File lib/matchers/validations/confirmation_of.rb, line 4 def validate_confirmation_of(*attributes) ValidateConfirmationOfMatcher.new(attributes) end
validate_length_of(*attributes)
click to toggle source
# File lib/matchers/validations/length_of.rb, line 4 def validate_length_of(*attributes) ValidateLengthOfMatcher.new(attributes) end
validate_numericality_of(*attributes)
click to toggle source
# File lib/matchers/validations/numericality_of.rb, line 4 def validate_numericality_of(*attributes) ValidateNumericalityOfMatcher.new(attributes) end
validate_presence_of(*attributes)
click to toggle source
# File lib/matchers/validations/presence_of.rb, line 4 def validate_presence_of(*attributes) ValidatePresenceOfMatcher.new(attributes) end