struct Avram::Expectations::HaveErrorExpectation

Defined in:

avram/expectations/have_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(message : Regex | Nil = nil) #

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

[View source]

Instance Method Detail

def failure_message(attribute : Attribute) : String #

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

[View source]
def match(attribute : Attribute) : Bool #

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

[View source]
def negative_failure_message(attribute : Attribute) : String #

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

[View source]