5 use lib "$FindBin::Bin/lib";
\r
7 use Test::More tests => 4;
\r
9 use Catalyst::Test 'TestApp';
\r
13 ok( $response = request('http://localhost/config/'), 'request ok' );
\r
14 is( $response->content, 'foo', 'config ok' );
\r
16 $response = request('http://localhost/appconfig/cache');
\r
17 ok( $response->content !~ /^__HOME__/, 'home dir substituted in config var' );
\r
19 $response = request('http://localhost/appconfig/foo');
\r
20 is( $response->content, 'bar', 'app finalize_config works' );
\r