ignore non-ref model/view/controller/component keys
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / 20-mock_load.t
index 7f19b85..f576f47 100644 (file)
@@ -1,4 +1,4 @@
-use Test::More tests => 5;\r
+use Test::More tests => 6;\r
 \r
 my $app = MockApp->new;\r
 $app->setup;\r
@@ -8,6 +8,7 @@ is( $app->config->{ 'Controller::Foo' }->{ foo }, 'bar' );
 is( $app->config->{ 'Controller::Foo' }->{ new }, 'key' );\r
 is( $app->config->{ 'Model::Baz' }->{ qux }, 'xyzzy' );\r
 is( $app->config->{ 'Model::Baz' }->{ another }, 'new key' );\r
+is( $app->config->{ 'view' }, 'View::TT::New' );\r
 \r
 package MockApp;\r
 \r