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