Module: Test::Unit::Assertions
- Included in:
- Watir::Assertions
- Defined in:
- lib/watir/assertions.rb
Instance Method Summary collapse
Instance Method Details
#assert_false(boolean, message = nil) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/watir/assertions.rb', line 38 def assert_false(boolean, =nil) _wrap_assertion do assert_block("assert should not be called with a block.") { !block_given? } assert_block((, "<?> is not false.", boolean)) { !boolean } end end |