struct

Avram::Expectations::HaveErrorExpectation

Inherits Struct < Value < Object

Constructors

new(message : Regex | Nil = nil)
Source
new(message : String)
Source

Instance methods

failure_message(attribute : Attribute) : String
Source
failure_message(operation : OperationErrors) : String
Source
match(attribute : Attribute) : Bool
Source
match(operation : OperationErrors) : Bool
Source
negative_failure_message(attribute : Attribute) : String
Source
negative_failure_message(operation : OperationErrors) : String
Source