lilinkevin / rest-assured

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

Add support for specifying arguments to root or append paths at a later stage #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make this work:

expect().
                 root("store.%s", withArgs("book")).
                 body("category.size()", equalTo(4)).
                 appendRoot("%s.%s", withArgs("author")). // Fails because the appendRoot require two args even though the last arg is specified in the body below
                 body("size()", equalTo(4)).
when().
                 get("/jsonStore");

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

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 4 Jun 2014 at 12:15