Moved first-level index to a new controller so inheritence doesn't break
[catagits/Catalyst-Runtime.git] / t / live / component / controller / action / index.t
index 35c397a..2233134 100644 (file)
@@ -21,11 +21,11 @@ for ( 1 .. 1 ) {
     
     # test first-level controller index
     {
-        ok( my $response = request('http://localhost/action/'), 'first-level controller index' );
-        is( $response->content, 'Action index', 'first-level controller index ok' );
+        ok( my $response = request('http://localhost/index/'), 'first-level controller index' );
+        is( $response->content, 'Index index', 'first-level controller index ok' );
         
-        ok( $response = request('http://localhost/action'), 'first-level controller index no slash' );
-        is( $response->content, 'Action index', 'first-level controller index no slash ok' );        
+        ok( $response = request('http://localhost/index'), 'first-level controller index no slash' );
+        is( $response->content, 'Index index', 'first-level controller index no slash ok' );        
     }    
     
     # test second-level controller index