7 use lib "$FindBin::Bin/../lib";
9 use Test::More tests => 5;
10 use Catalyst::Test 'TestApp';
13 Catalyst::Plugin::Test::Errors
14 Catalyst::Plugin::Test::Headers
15 Catalyst::Plugin::Test::Inline
16 Catalyst::Plugin::Test::Plugin
17 TestApp::Plugin::FullyQualified
20 my $expected = join( ", ", @expected );
22 ok( my $response = request('http://localhost/dump/request'), 'Request' );
23 ok( $response->is_success, 'Response Successful 2xx' );
24 is( $response->content_type, 'text/plain', 'Response Content-Type' );
25 like( $response->content, qr/'Catalyst::Request'/,
26 'Content is a serialized Catalyst::Request' );
27 is( $response->header('X-Catalyst-Plugins'), $expected, 'Loaded plugins' );