Class: Mongoid::Matchers::Validations::ValidateConfirmationOfMatcher

Inherits:
HaveValidationMatcher show all
Defined in:
lib/matchers/validations/confirmation_of.rb

Instance Method Summary collapse

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