X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=blobdiff_plain;f=t%2F11serve_static.t;h=f98760fbcc3835b46b3f4d23f71525ec6ff3a992;hp=470b72c315b51a384ddc4dc2bb4f4a9ee3e721c1;hb=919acaed08984151c70b2cbcc622ba5cfae1ffa4;hpb=d1904f4366c7c3a6d5cb01d3f014afb26148f6ba diff --git a/t/11serve_static.t b/t/11serve_static.t index 470b72c..f98760f 100644 --- a/t/11serve_static.t +++ b/t/11serve_static.t @@ -14,8 +14,8 @@ ok( my $res = request('http://localhost/serve_static'), 'request ok' ); is( $res->code, 200, '200 ok' ); # .pm can be both application/x-pagemaker or text/x-perl, so only check for a slash like( $res->content_type, qr{/}, 'content-type ok' ); -like( $res->content, qr/serve_static/, 'content of serve_static ok' ); +like( $res->content, qr/package TestApp/, 'content of serve_static ok' ); # test getting a non-existant file via serve_static_file ok( $res = request('http://localhost/serve_static_404'), 'request ok' ); -is( $res->code, 404, '404 ok' ); \ No newline at end of file +is( $res->code, 404, '404 ok' );