Add code from gists 12311[56]
[catagits/CatalystX-DynamicComponent.git] / t / 06_dynamicmodel_interface.t
CommitLineData
1fe9ba78 1use strict;
2use warnings;
3
4use FindBin qw/$Bin/;
5use lib "$Bin/lib";
6
bfbaf28f 7use Test::More tests => 2;
1fe9ba78 8
9BEGIN { use_ok('ModelsFromConfigInterfaceApp'); }
10
bfbaf28f 11is_deeply(ModelsFromConfigInterfaceApp->config, {
12 name => 'ModelsFromConfigInterfaceApp',
13 'Model::One' => {
14 class => 'SomeModelClass',
15 interface_roles => [qw/ SomeModelClassInterface /],
16 },
17}, 'Config is not munged');
18