Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I've made a simple test and I cannot seem to reproduce this.
expect().
statusCode(200).
body("doesnt.exist", equalTo("something")).
when().
get("/statusCode500");
"/statusCode500" returns (you guessed it) status code 500 and content-type
"text/plain". The test fails because status code 200 doesn't match the actual
status code.
Could you give an example of a test that fails?
Original comment by johan.ha...@gmail.com
on 3 Nov 2011 at 7:52
Original comment by johan.ha...@gmail.com
on 17 Dec 2011 at 2:42
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 26 Oct 2011 at 10:25