7 use lib "$FindBin::Bin/lib";
11 BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 2; }
13 use Test::More tests => 3*$iters;
14 use Catalyst::Test 'TestAppDoubleAutoBug';
16 if ( $ENV{CAT_BENCHMARK} ) {
18 Benchmark::timethis( $iters, \&run_tests );
29 TestAppDoubleAutoBug->auto
30 TestAppDoubleAutoBug->default
31 TestAppDoubleAutoBug->end
34 my $expected = join( ", ", @expected );
36 ok( my $response = request('http://localhost/action/auto/one'), 'auto + local' );
37 is( $response->header('X-Catalyst-Executed'),
38 $expected, 'Executed actions' );
39 is( $response->content, 'default, auto=1', 'Content OK' );