Add shell for a more complex testapp
[catagits/CatalystX-DynamicComponent.git] / t / 10_app.t
index 21e1224..b7259cc 100644 (file)
@@ -4,17 +4,11 @@ use warnings;
 use FindBin qw/$Bin/;
 use lib "$Bin/lib";
 
-use Test::More tests => 6;
+use Test::More tests => 4;
 
 BEGIN { use_ok 'Catalyst::Test', 'DynamicAppDemo' }
 
 {
-    my $res = request('/fakeexample/register_me');
-    ok( $res->is_success, 'should succeed' );
-    is( $res->header('X-Foo'), 'bar', 'is calling correct code' );
-}
-
-{
     my $res = request('/one/say_hello/world');
     ok( $res->is_success, 'should succeed' );
     is( $res->header('X-From-Model'), 'One' );