From: Karen Etheridge Date: Sun, 3 Feb 2013 03:05:57 +0000 (-0800) Subject: fix configfile usage as per updated MXCFF documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b565b43c820ed08547801db0e484c1ab86178cbb;p=gitmo%2FMooseX-SimpleConfig.git fix configfile usage as per updated MXCFF documentation --- diff --git a/t/lib/MXDefaultConfigTest.pm b/t/lib/MXDefaultConfigTest.pm index 130a70e..9ff025d 100644 --- a/t/lib/MXDefaultConfigTest.pm +++ b/t/lib/MXDefaultConfigTest.pm @@ -15,7 +15,7 @@ has 'direct_attr' => (is => 'ro', isa => 'Int'); has 'req_attr' => (is => 'rw', isa => 'Str', required => 1); -has '+configfile' => ( default => 'test.yaml' ); +around 'configfile' => sub { 'test.yaml' }; no Moose; 1;