Changeset 30023

Show
Ignore:
Timestamp:
02/14/09 00:47:26 (4 years ago)
Author:
yappo
Message:

this commit is dont work

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTTP-Engine-Middleware/trunk/t/200_middlewares/static.t

    r30022 r30023  
    1010plan skip_all => "MooseX::Types::Path::Class is not installed" unless eval "use MooseX::Types::Path::Class;1;"; 
    1111 
    12 plan tests => 8 * blocks; 
     12plan tests => 12 * blocks; 
    1313 
    1414use HTTP::Engine; 
     
    5757 
    5858    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); 
    5971}; 
    6072