9 BEGIN { $ENV{SGN_SKIP_CGI} = 1 } #< don't need to compile all the CGIs
10 use SGN::Test qw/ request /;
12 my $mech = SGN::Test::WWW::Mechanize->new;
14 { # test download_static
15 my $res = request( '/download/documents/inc/sgn.css' );
16 is( $res->header('Content-disposition'), 'attachment; filename=sgn.css',
17 'got the right disposition header from the static downloader' );
19 like( $res->content, qr/text-align\s*:/, 'content looks like css' );
20 is( $res->content_type, 'text/css', 'got a CSS content type' );