Merge branch 'master' into gsoc_breadboard
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_container_path_env.t
1 use strict;
2 use warnings;
3
4 use FindBin;
5 use lib "$FindBin::Bin/../lib";
6
7 use Test::More;
8
9 $ENV{ TESTAPPCONTAINER_CONFIG } = 'test.perl';
10
11 use_ok 'Catalyst::Test', 'TestAppContainer';
12
13 ok my ( $res, $c ) = ctx_request( '/' ), 'context object';
14
15 is_deeply $c->container->resolve( service => 'config_path' ), [ qw( test.perl perl ) ], 'path is "test.perl"';
16
17 done_testing;