Remove blank file, add more ignore props
[catagits/Catalyst-Devel.git] / t / generated_app.t
CommitLineData
312ab89f 1use strict;
2use warnings;
3
4use File::Temp qw/ tempdir /;
5
6my $dir = tempdir(); # CLEANUP => 1 );
7
8use Test::More;
9{
10 # Check exit status here
11 system("cd $dir; catalyst.pl TestApp");
12}
13# Fix paths / nl work on win32
14chdir("$dir/TestApp/");
312ab89f 15
16# Ok, this is lame.. Also, check +x permissions?
17my @files = qw|
18 Makefile.PL
19 lib/TestApp.pm
20|;
21
22plan 'tests' => scalar @files;
23
24foreach my $fn (@files) {
25 ok -r $fn, "Have $fn in generated app";
26}
27