Library providing tools for writing and running RSpec tests.
Minimal implementation of the RSpec matcher interface.
RSpec::SleepingKingStudios::Matchers::ActiveModel::HaveErrorsMatcher, RSpec::SleepingKingStudios::Matchers::Core::BeAUuidMatcher, RSpec::SleepingKingStudios::Matchers::Core::BeBooleanMatcher, RSpec::SleepingKingStudios::Matchers::Core::ConstructMatcher, RSpec::SleepingKingStudios::Matchers::Core::DeepMatcher, RSpec::SleepingKingStudios::Matchers::Core::DelegateMethodMatcher, RSpec::SleepingKingStudios::Matchers::Core::HaveAliasedMethodMatcher, RSpec::SleepingKingStudios::Matchers::Core::HaveChangedMatcher, RSpec::SleepingKingStudios::Matchers::Core::HaveConstantMatcher, RSpec::SleepingKingStudios::Matchers::Core::HavePredicateMatcher, RSpec::SleepingKingStudios::Matchers::Core::HavePropertyMatcher, RSpec::SleepingKingStudios::Matchers::Core::HaveReaderMatcher, RSpec::SleepingKingStudios::Matchers::Core::HaveWriterMatcher
DEFAULT_EXPECTED_ITEMS
= Object.new
#actual => Object (readonly)
#description => String
A short string that describes the purpose of the matcher.
#does_not_match? actual => Boolean
Inverse of #matches? method.
#failure_message => Object
Message for when the object does not match, but was expected to. Make sure to always call #matches? first to set up the matcher state.
#failure_message_when_negated => Object
Message for when the object matches, but was expected not to. Make sure to always call #matches? first to set up the matcher state.
#matches? actual => Boolean
Tests the actual object to see if it matches the defined condition(s). Invoked by RSpec expectations.
Back to Documentation | Versions | 2.8 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Matchers