Class: Mongoid::Matchers::Validations::ValidateConfirmationOfMatcher
- Inherits:
-
HaveValidationMatcher
- Object
- HaveValidationMatcher
- Mongoid::Matchers::Validations::ValidateConfirmationOfMatcher
- Defined in:
- lib/matchers/validations/confirmation_of.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ ValidateConfirmationOfMatcher
constructor
A new instance of ValidateConfirmationOfMatcher.
Methods inherited from HaveValidationMatcher
#description, #failure_message_for_should, #failure_message_for_should_not, #matches?, #on, #with_message
Constructor Details
#initialize(name) ⇒ ValidateConfirmationOfMatcher
Returns a new instance of ValidateConfirmationOfMatcher.
5 6 7 |
# File 'lib/matchers/validations/confirmation_of.rb', line 5 def initialize(name) super(name, :confirmation) end |