Merge 'generated_app-fix' into 'trunk'
[catagits/Catalyst-Devel.git] / t / get_sharedir_file.t
index 899af3b..f2a68ad 100644 (file)
@@ -1,13 +1,12 @@
 use strict;
 use warnings;
 
-use Test::MockObject::Extends;
-use Test::More tests => 3;
+use Test::More;
 use Test::Exception;
 
 use Catalyst::Helper;
 
-my $i = Test::MockObject::Extends->new('Catalyst::Helper');
+my $i = bless {}, 'Catalyst::Helper';
 
 throws_ok {
     $i->get_sharedir_file(qw/does not exist and hopefully never will or we are
@@ -18,3 +17,4 @@ lives_ok {
     ok($i->get_sharedir_file('Makefile.PL.tt'), 'has contents');
 } 'Can get_sharedir_file';
 
+done_testing;