-test("click()", function() {
- expect(5);
- $('<li><a href="#">Change location</a></li>').prependTo('#firstUL').find('a').bind('click', function() {
- var close = $('spanx', this); // same with $(this).find('span');
- ok( close.length == 0, "Context element does not exist, length must be zero" );
+test("trigger() shortcuts", function() {
+ expect(6);
+ jQuery('<li><a href="#">Change location</a></li>').prependTo('#firstUL').find('a').bind('click', function() {
+ var close = jQuery('spanx', this); // same with jQuery(this).find('span');
+ equals( close.length, 0, "Context element does not exist, length must be zero" );