Path::Class::File is not needed here
[gitmo/MooseX-SimpleConfig.git] / t / lib / MXDefaultConfigTest.pm
1 package MXDefaultConfigTestBase;
2 use Moose;
3
4 has 'inherited_ro_attr' => (is => 'ro', isa => 'Str');
5
6 no Moose;
7 1;
8
9 package MXDefaultConfigTest;
10 use Moose;
11 extends 'MXDefaultConfigTestBase';
12 with 'MooseX::SimpleConfig';
13
14 has 'direct_attr' => (is => 'ro', isa => 'Int');
15
16 has 'req_attr' => (is => 'rw', isa => 'Str', required => 1);
17
18 has '+configfile' => ( default => 'test.yaml' );
19
20 no Moose;
21 1;