Make superclasses and roles tests pass
[catagits/CatalystX-DynamicComponent.git] / t / lib / DynamicAppDemo.pm
CommitLineData
8798165a 1package DynamicAppDemo;
fa2fa199 2use Moose;
3use Catalyst::Runtime '5.80002';
8798165a 4
fa2fa199 5use Catalyst qw/
6 -Debug
fa2fa199 7/;
8798165a 8
fa2fa199 9extends 'Catalyst';
8798165a 10
6a2f1e96 11# Ordering important. :)
7d26c84b 12with qw/
13 CatalystX::ModelsFromConfig
6a2f1e96 14 CatalystX::ModelToControllerReflector
7d26c84b 15/;
16
8798165a 17our $VERSION = '0.01';
18
00b934f1 19__PACKAGE__->config(
104abdae 20 name => 'DynamicAppDemo',
00b934f1 21 'Controller::One' => {
0b07685c 22 superclasses => [qw/DynamicAppDemo::ControllerBase/],
23 roles => [qw/DynamicAppDemo::ControllerRole/],
00b934f1 24 },
104abdae 25 'Model::One' => {
26 class => 'SomeModelClass',
27 },
28);
8798165a 29
8798165a 30__PACKAGE__->setup();
31
fa2fa199 32__PACKAGE__->meta->make_immutable;
8798165a 33