Library providing tools for writing and running RSpec tests.
Stores an expectation of receiving a specified error message.
#initialize message, expected = true, received = false => MessageExpectation
#expected => Object
Returns the value of attribute expected
#message => Object
Returns the value of attribute message
#received => Object
Returns the value of attribute received
Back to Documentation | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Matchers | RSpec::SleepingKingStudios::Matchers::ActiveModel | RSpec::SleepingKingStudios::Matchers::ActiveModel::HaveErrors