9 use SGN::Test::WWW::Mechanize skip_cgi => 1;
11 my $mech = SGN::Test::WWW::Mechanize->new;
13 # { # test serving a single JS file
15 # $mech->get_ok( '/js/Text/Markup.js' );
16 # $mech->content_like( qr/function\s*\(/,'served a single JS file' );
18 # $mech->get( '/js/Nonexistent.js' );
19 # $mech->content_like( qr/not found/i, 'nonexistent js says not found' );
22 # is( $mech->status, 404, 'gives a 404' );
24 # $mech->get( '/js/CXGN/Page/' );
25 # $mech->content_like( qr/not found/i, 'nonexistent js says not found' );
26 # is( $mech->status, 404, 'gives a 404' );
28 # $mech->get( '/js/CXGN/Page' );
29 # $mech->content_like( qr/not found/i, 'nonexistent js says not found' );
30 # is( $mech->status, 404, 'gives a 404' );