prototype: add a test to event.html.

This commit is contained in:
Tobie Langel 2007-11-14 12:49:56 +00:00
parent 74c005c678
commit 26b4b3aee5
1 changed files with 1 additions and 0 deletions

View File

@ -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'));
}}