diff options
| author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 21:02:23 -0700 |
|---|---|---|
| committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 21:02:23 -0700 |
| commit | 84147ee6d4a5d53d93f4a73300a192f854eb1ccd (patch) | |
| tree | 883782c9efc36d21f1efbc19bb4f593ca9e5a9d8 /eg/post_hook.t | |
| parent | Remove dep on Git::Repository (diff) | |
| parent | Make hook test data refer to the new git repo for testing (diff) | |
| download | jitterbug-84147ee6d4a5d53d93f4a73300a192f854eb1ccd.tar.gz | |
Merge branch 'master' into git_refactor
Diffstat (limited to 'eg/post_hook.t')
| -rw-r--r-- | eg/post_hook.t | 3 |
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/"; |
