The fake example is now broken as we're not smashing random methods. Fix method gener...
[catagits/CatalystX-DynamicComponent.git] / t / 05_dynamiccontrollers.t
index 2f54467..af8a1db 100644 (file)
@@ -6,7 +6,7 @@ use lib "$Bin/lib";
 
 use Moose::Util qw/does_role/;
 
-use Test::More tests => 5;
+use Test::More tests => 6;
 
 use DynamicAppDemo;
 
@@ -23,3 +23,6 @@ ok ! $controller->action_for('get_reflected_action_methods'),
 ok ! $controller->action_for('method_from_controller_role'),
     'not leaking actions';
 
+ok  $controller->action_for('say_hello'),
+    'Am finding generated actions';
+