nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery.event.drag-new / event.linger / 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( 4 );
16                                 
17         // make sure the event interface is complete
18         ok( jQuery.event.special.lingerstart, "LINGERSTART special event is defined" );
19         ok( jQuery.event.special.linger, "LINGER special event is defined" );
20         ok( jQuery.event.special.lingerend, "LINGEREND special event is defined" );
21         ok( jQuery([]).linger, "$('...').linger() method is defined" );
22         
23 });