swangkkb / rest-assured

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

Add withNoArgs method #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In cases like this it's useful:

 expect().
                 root("store.%s", withArgs("book")).
                 body("category.size()", equalTo(4)).
                 appendRoot("%s.%s", withArgs("author", "size()")).
                 body(withNoArgs(), equalTo(4)).
when().
                 get("/jsonStore");

Original issue reported on code.google.com by johan.ha...@gmail.com on 14 Nov 2013 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 14 Nov 2013 at 8:42