Class: Test::Unit::Assertions::AssertRjs::REMOVE
- Inherits:
-
Test::Unit::Assertions::AssertRjs
- Object
- Test::Unit::Assertions::AssertRjs
- Test::Unit::Assertions::AssertRjs::REMOVE
- Defined in:
- lib/assert2/rjs.rb
Instance Attribute Summary
Attributes inherited from Test::Unit::Assertions::AssertRjs
#command, #failure_message, #js, #scope
Instance Method Summary collapse
Methods inherited from Test::Unit::Assertions::AssertRjs
#assert_xhtml, #complain, #flunk, #hash_match, #initialize, #match, #match_or_flunk, #props_to_hash, #pwn_call, #wrap_expectation
Constructor Details
This class inherits a constructor from Test::Unit::Assertions::AssertRjs
Instance Method Details
#pwn(*args, &block) ⇒ Object
131 132 133 134 |
# File 'lib/assert2/rjs.rb', line 131 def pwn *args, &block @command = :call pwn_call 'Element.remove', *args, &block end |