Class: NoBrainer::Matchers::Validations::ValidateConfirmationOfMatcher
- Inherits:
-
HaveValidationMatcher
- Object
- HaveValidationMatcher
- NoBrainer::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.
7 8 9 |
# File 'lib/matchers/validations/confirmation_of.rb', line 7 def initialize(name) super(name, :confirmation) end |