summaryrefslogtreecommitdiff
path: root/eg
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 21:02:23 -0700
committerJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 21:02:23 -0700
commit84147ee6d4a5d53d93f4a73300a192f854eb1ccd (patch)
tree883782c9efc36d21f1efbc19bb4f593ca9e5a9d8 /eg
parentRemove dep on Git::Repository (diff)
parentMake hook test data refer to the new git repo for testing (diff)
downloadjitterbug-84147ee6d4a5d53d93f4a73300a192f854eb1ccd.tar.gz
Merge branch 'master' into git_refactor
Diffstat (limited to '')
-rw-r--r--eg/post_hook.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/eg/post_hook.t b/eg/post_hook.t
index 3715abc..4165f46 100644
--- a/eg/post_hook.t
+++ b/eg/post_hook.t
@@ -5,8 +5,9 @@ use LWP::UserAgent;
use HTTP::Request::Common;
use YAML qw/LoadFile/;
use JSON;
+use File::Spec::Functions;
-my $content = LoadFile('t/data/test.yaml');
+my $content = LoadFile(catfile(qw/t data hook_data.yml/));
my $payload = JSON::encode_json($content);
my $url = "http://localhost:5000/hook/";