Skip to content

Commit

Permalink
fix for broken test, changed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tednaleid authored and Jens Hausherr committed Jun 15, 2012
1 parent b756c58 commit 8cc60cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/groovy/com/entagen/jenkins/JenkinsApiTests.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class JenkinsApiTests extends GroovyTestCase {

mockRESTClient.use {
JenkinsApi api = new JenkinsApi(jenkinsServerUrl: "http://localhost:9090/goodHostAndPortBadUrl")
assert "Unexpected failure on http://localhost:9090/goodHostAndPortBadUrl/api/json, HTTP Status Code: 404" == shouldFail() {
assert "Unexpected failure with path http://localhost:9090/goodHostAndPortBadUrl/api/json, HTTP Status Code: 404, full map: [path:api/json]" == shouldFail() {
api.getJobNames("myproj")
}
}
Expand Down

0 comments on commit 8cc60cf

Please sign in to comment.