prototype: add a test to event.html.
This commit is contained in:
parent
74c005c678
commit
26b4b3aee5
@ -232,6 +232,7 @@
|
||||
event = span.fire("test:somethingHappened");
|
||||
assertEqual(span, event.findElement());
|
||||
assertEqual(span, event.findElement('span'));
|
||||
assertEqual($("inner"), event.findElement('p'));
|
||||
assertEqual(null, event.findElement('div.does_not_exist'));
|
||||
}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user