Class: OSpec::BeFalseMatcher
Instance Method Summary collapse
Methods inherited from Matcher
Constructor Details
This class inherits a constructor from OSpec::Matcher
Instance Method Details
#match(expected) ⇒ Object
55 56 57 58 59 |
# File 'lib/ospec/matchers.rb', line 55 def match expected unless expected == false failure "expected #{expected.inspect} to be false." end end |