From f97fe77d32f32f09365af79495cb9f217d0af65a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 8 Nov 2017 23:07:53 +0100 Subject: 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`. --- src/jenkins.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(), -- cgit v1.2.3