Class: OSpec::BeTrueMatcher
Instance Method Summary collapse
Methods inherited from Matcher
Constructor Details
This class inherits a constructor from OSpec::Matcher
Instance Method Details
#match(expected) ⇒ Object
47 48 49 50 51 |
# File 'lib/ospec/matchers.rb', line 47 def match expected unless expected == true failure "expected #{expected.inspect} to be true." end end |