Module: Quickdraw::Matchers::Boolean
- Defined in:
- lib/quickdraw/matchers/boolean.rb
Instance Method Summary collapse
Instance Method Details
#to_be_falsy ⇒ Object
8 9 10 |
# File 'lib/quickdraw/matchers/boolean.rb', line 8 def to_be_falsy refute(value) { "expected `#{value.inspect}` to be falsy" } end |
#to_be_truthy ⇒ Object
4 5 6 |
# File 'lib/quickdraw/matchers/boolean.rb', line 4 def to_be_truthy assert(value) { "expected `#{value.inspect}` to be truthy" } end |