Class: Test::Unit::Assertions::AssertRjs::ALERT
- Inherits:
-
Test::Unit::Assertions::AssertRjs
- Object
- Test::Unit::Assertions::AssertRjs
- Test::Unit::Assertions::AssertRjs::ALERT
- 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
118 119 120 121 |
# File 'lib/assert2/rjs.rb', line 118 def pwn *args, &block @command = :call pwn_call :alert, *args, &block end |