And lets have a test that the reflector works in interface role mode
[catagits/CatalystX-DynamicComponent.git] / t / 07_dynamiccontrollers_interface.t
CommitLineData
932a7c33 1use strict;
2use warnings;
3
4use FindBin qw/$Bin/;
5use lib "$Bin/lib";
6
7use Test::More tests => 3;
8
9BEGIN { use_ok('ModelsFromConfigInterfaceApp'); }
10
11my $controller = ModelsFromConfigInterfaceApp->controller('One');
12ok $controller, 'Generated a controller';
13
14my $action = $controller->action_for('say_hello');
15ok $action, 'Got action reflected from model';
16
17# Actions we generate are still totally frigging useless, so lets not test
18# that here yet.
19