6 no warnings 'redefine';
9 use lib "$FindBin::Bin/lib";
11 use Test::More tests => 3;
13 use Catalyst::Plugin::Static::Simple;
14 Catalyst::Plugin::Static::Simple->meta->add_before_method_modifier(
20 ok( $@, '$@ has a value.' );
24 use Catalyst::Test 'TestApp';
26 TestApp->config->{static}->{dirs} = [qr{stuff/}];
28 ok( my $res = request("http://localhost/"), 'request ok' );
29 ok( $res->code == 200, q{Previous error doesn't crash static::simple} );