In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
[catagits/Catalyst-Runtime.git] / t / aggregate / live_component_controller_attributes.t
CommitLineData
683d672b 1#!perl
2
3use strict;
4use warnings;
5
6use FindBin;
7use lib "$FindBin::Bin/../lib";
8
9use Test::More tests => 4;
10use Catalyst::Test 'TestApp';
11
12ok( my $response = request('http://localhost/attributes/view'),
13 'get /attributes/view' );
14ok( !$response->is_success, 'Response Unsuccessful' );
15
16ok( $response = request('http://localhost/attributes/foo'),
17 "get /attributes/foo" );
18
19ok( $response->is_success, "Response OK" );