struct Avram::Expectations::HaveCustomErrorExpectation

Defined in:

avram/expectations/have_custom_error_expectation.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(name : Symbol, message : Regex | Nil = nil) #

[View source]
def self.new(name, message : String) #

[View source]

Instance Method Detail

def failure_message(operation : OperationErrors) : String #

[View source]
def match(operation : OperationErrors) : Bool #

[View source]
def negative_failure_message(operation : OperationErrors) : String #

[View source]