tests for the config( ...->{file} ) option. addresses bug when ->{file} is a dir...
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp1.pm
1 package TestApp1;
2
3 use strict;
4 use warnings;
5
6 use MRO::Compat;
7
8 use Catalyst qw/ConfigLoader/;
9
10 our $VERSION = '0.01';
11
12 __PACKAGE__->setup;
13
14 sub finalize_config {
15     my $c = shift;
16     $c->config( foo => 'bar1' );
17     $c->next::method( @_ );
18 }
19
20 1;