Class: NoBrainer::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.



7
8
9
# File 'lib/matchers/validations/confirmation_of.rb', line 7

def initialize(name)
  super(name, :confirmation)
end