diff options
author | Teddy Wing | 2017-11-08 23:07:53 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-08 23:07:53 +0100 |
commit | f97fe77d32f32f09365af79495cb9f217d0af65a (patch) | |
tree | acc196554434e99796f8e900a35231e253661ce9 /src | |
parent | 0f1f1b2f2991e30672706b58ca4af5b2cc1c92cf (diff) | |
download | kipper-f97fe77d32f32f09365af79495cb9f217d0af65a.tar.bz2 |
jenkins.rs: Fix `request_job` test
Pass the correct URL into the function call. Previously my copy-pastes
meant that the mock URL I had defined was different from the one I
passed to `request_job`.
Diffstat (limited to 'src')
-rw-r--r-- | src/jenkins.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs index 9312113..543c970 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -211,7 +211,7 @@ mod tests { "#) .create(); - let job = request_job("http://jenkins.example.com/job/changes-branches/17".to_string()); + let job = request_job("http://jenkins.example.com/job/changes-branches/15".to_string()); let expected = Job { display_name: "2388-delete-the-codes-391af".to_string(), |