9 use SGN::Test::WWW::Mechanize skip_cgi => 1;
10 my $mech = SGN::Test::WWW::Mechanize->new;
12 { # test download_static
13 my $res = $mech->get( '/download/css/sgn.css' );
14 is( $res->header('Content-disposition'), 'attachment; filename=sgn.css',
15 'got the right disposition header from the static downloader' );
17 like( $res->content, qr/text-align\s*:/, 'content looks like css' );
18 is( $res->content_type, 'text/css', 'got a CSS content type' );