r8342@foo: jon | 2006-12-16 02:49:32 -0600
[catagits/Catalyst-Runtime.git] / t / live_engine_setup_plugins.t
1 #!perl
2
3 use strict;
4 use warnings;
5
6 use FindBin;
7 use lib "$FindBin::Bin/lib";
8
9 use Test::More tests => 2;
10 use Catalyst::Test 'TestApp';
11
12 {
13   # Allow overriding automatic root.
14     ok( my $response = request('http://localhost/engine/response/headers/one'), 'Request' );
15     is( $response->header('X-Catalyst-Plugin-Setup'), '1' );
16 }