3 use Test::More tests => 7;
6 $ENV{ CATALYST_HOME } = cwd . '/t/mockapp';
8 use_ok( 'Catalyst', qw( ConfigLoader ) );
12 ok( __PACKAGE__->config );
13 is( __PACKAGE__->config->{ 'Controller::Foo' }->{ foo }, 'bar' );
14 is( __PACKAGE__->config->{ 'Controller::Foo' }->{ new }, 'key' );
15 is( __PACKAGE__->config->{ 'Model::Baz' }->{ qux }, 'xyzzy' );
16 is( __PACKAGE__->config->{ 'Model::Baz' }->{ another }, 'new key' );
17 is( __PACKAGE__->config->{ 'view' }, 'View::TT::New' );