}
$home ||= Catalyst::Utils::home($class);
- $class->config(home => $home); # FIXME - Needed to make path_to work.
+# $class->config(home => $home); # FIXME - Needed to make path_to work.
return $home;
},
dependencies => [ depends_on('application_name') ],
ok($applevel_config, 'applevel_config exists in the config accessor');
is($applevel_config, 'foo', 'and has the correct value');
+my $home = TestAppContainer->container->resolve(service => 'config')->{home};
+ok( $home );
+
+$home = TestAppContainer->config->{home};
+ok( $home );
+
done_testing;