convert to Distar
[catagits/Catalyst-Devel.git] / t / render_share_dir_file.t
index a56fe5c..94e9371 100644 (file)
@@ -1,7 +1,6 @@
 use strict;
 use warnings;
-use FindBin qw/$Bin/;
-use lib "$Bin/lib";
+use lib "t/lib";
 use Catalyst::Helper;
 use Test::More;
 
@@ -14,6 +13,7 @@ close $fh;
 
 ok( $helper->render_sharedir_file('script/myapp_cgi.pl.tt', $fn, { appprefix  => 'fnargh' }), "sharedir file rendered" ); 
 ok -r $fn;
+ok -s $fn;
 unlink $fn;
 
 done_testing;