5 use lib "$FindBin::Bin/../lib";
9 use_ok('TestAppContainer');
11 is( TestAppContainer->controller('Config')->{foo}, 'foo', 'config ok' );
13 ok( TestAppContainer->config->{cache} !~ /^__HOME__/,
14 'home dir substituted in config var'
17 is( TestAppContainer->config->{foo}, 'bar', 'app finalize_config works' );
19 my $home = TestAppContainer->config->{ home };
21 $home, TestAppContainer->path_to( 'x' ),
22 $home, TestAppContainer->path_to( 'y' );
23 is( TestAppContainer->config->{multi}, $path, 'vars substituted in config var, twice' );