From: Paul Tipper Date: Sat, 20 Nov 2010 19:18:17 +0000 (+0000) Subject: Added test for Git::Wrapper X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=680e49c23d179ccd125f2e3b6b289f55367fef9d;p=p5sagit%2FOyster.git Added test for Git::Wrapper --- diff --git a/t/Deploy/git.t b/t/Deploy/git.t index 205665c..d65fdc0 100644 --- a/t/Deploy/git.t +++ b/t/Deploy/git.t @@ -9,6 +9,7 @@ use Test::Exception; use File::Temp qw/tempdir/; BEGIN { use_ok( 'Oyster::Deploy::Git' ); } +BEGIN { use_ok( 'Git::Wrapper' ); } my $tmpdir = tempdir(); @@ -21,4 +22,4 @@ ok((-d "${tmpdir}/testapp"), "App directory created"); throws_ok(sub {$deploy->create("${tmpdir}/testapp")}, 'Error::Simple', "Directory already exists"); ok((-f "${tmpdir}/testapp/.git/hooks/post-receive"), "Post reveive hook exists"); -ok((-f "${tmpdir}/testapp/.git/hooks/post-update"), "Post update hook exists"); \ No newline at end of file +ok((-f "${tmpdir}/testapp/.git/hooks/post-update"), "Post update hook exists");