nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery.event.drag-new / fire / test / requirements.js
1 module("Requirements");
2
3 test("jQuery",function(){
4         
5         expect( 2 );
6         
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" );
10
11 });
12
13 test("Installation",function(){
14         
15         expect( 8 );
16                                 
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" );
26 });