1 module("Requirements");
3 test("jQuery",function(){
7 // make sure the right jquery is included
8 ok( window.jQuery, "jQuery exists" );
9 ok( parseFloat( jQuery([]).jquery ) >= 1.4, "jQuery version is 1.4 or greater" );
13 test("Installation",function(){
17 // make sure the plugin interface is complete
18 ok( jQuery.fn.fire, "FIRE method is defined" );
19 ok( jQuery.fire, "CONSTRUCTOR is defined" );
20 ok( jQuery.fire.defaults, "DEFAULTS are defined" );
21 ok( jQuery.fire.prototype.create, "CREATE method is defined" );
22 ok( jQuery.fire.prototype.event, "EVENT method is defined" );
23 ok( jQuery.fire.prototype.mouse, "MOUSE method is defined" );
24 ok( jQuery.fire.prototype.key, "KEY method is defined" );
25 ok( jQuery.fire.prototype.dispatch, "DISPATCH method is defined" );