Changeset 30023
- Timestamp:
- 02/14/09 00:47:26 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine-Middleware/trunk/t/200_middlewares/static.t
r30022 r30023 10 10 plan skip_all => "MooseX::Types::Path::Class is not installed" unless eval "use MooseX::Types::Path::Class;1;"; 11 11 12 plan tests => 8* blocks;12 plan tests => 12 * blocks; 13 13 14 14 use HTTP::Engine; … … 57 57 58 58 run_tests($block, $mw2); 59 60 my @config2 = ( 61 'HTTP::Engine::Middleware::Static' => { 62 regexp => qr{^(/css/.+|/robots\.txt)$}, 63 docroot => Path::Class::Dir->new('t', 'htdocs')->stringify, 64 }, 65 ); 66 67 my $mw3 = HTTP::Engine::Middleware->new; 68 ok $mw3->install(@config2), 'firast instance'; 69 70 run_tests($block, $mw3); 59 71 }; 60 72
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)