sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Cannot verify only content type #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
given()
       ..
expect().
        contentType("somehing").
when().get("/something");

will always validate!

Original issue reported on code.google.com by johan.ha...@gmail.com on 15 Jan 2012 at 3:49

GoogleCodeExporter commented 9 years ago
It doesn't seem to work at all.

Original comment by johan.ha...@gmail.com on 15 Jan 2012 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 15 Jan 2012 at 4:46

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 15 Jan 2012 at 5:28