Class: Test::Unit::Assertions::AssertRjs::TOGGLE
- Inherits:
-
Test::Unit::Assertions::AssertRjs
- Object
- Test::Unit::Assertions::AssertRjs
- Test::Unit::Assertions::AssertRjs::TOGGLE
- Defined in:
- lib/assert2/rjs.rb
Overview
TODO get the call call out of the error message
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
138 139 140 141 |
# File 'lib/assert2/rjs.rb', line 138 def pwn *args, &block @command = :call pwn_call 'Element.toggle', *args, &block end |