X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FDeploy%2Fgit.t;fp=t%2FDeploy%2Fgit.t;h=205665c04fe1edbb7594701011bb006a44c64be9;hb=47863b264b3dea236944334fe7692aa8db9a7c88;hp=5ba2614e0cc9c29239173086b6e0c56bdade6087;hpb=29bd3b913e29d594893e25ceb02dbd8150cf3c81;p=p5sagit%2FOyster.git diff --git a/t/Deploy/git.t b/t/Deploy/git.t index 5ba2614..205665c 100644 --- a/t/Deploy/git.t +++ b/t/Deploy/git.t @@ -20,3 +20,5 @@ is($deploy->create("${tmpdir}/testapp"), 1, 'Create returned okay'); 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