Almost there, builds controllers with methods in them...
[catagits/CatalystX-DynamicComponent.git] / t / 01app.t
CommitLineData
8798165a 1use strict;
2use warnings;
b14364e6 3use Test::More tests => 3;
8798165a 4
5BEGIN { use_ok 'Catalyst::Test', 'DynamicAppDemo' }
6
b14364e6 7{
8 my $res = request('/fakeexample/register_me');
9 ok( $res->is_success, 'should succeed' );
10 is( $res->header('X-Foo'), 'bar', 'is calling correct code' );
11}
12