class MotionSpec::Matcher::BeTrue
Public Instance Methods
fail!(subject, negated)
click to toggle source
# File lib/motion-spec/matcher/be_true.rb, line 8 def fail!(subject, negated) fail FailedExpectation.new( FailMessageRenderer.message_for_be_true(negated, subject) ) end
matches?(value)
click to toggle source
# File lib/motion-spec/matcher/be_true.rb, line 4 def matches?(value) value == true end