Campoie / rest-assured

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

Improve root path usage #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. allow to do this:

expect().
         root("filters.filterConfig[{index}].filterConfigGroups.find { it.name == 'Gold' }.includes").
         body("", hasItems(..), 0).

or simpler (for me):

expect().
         root("filters.filterConfig[%d].filterConfigGroups.find { it.name == 'Gold' }.includes").
         body("", hasItems(..), 0).

and use String.format

Original issue reported on code.google.com by johan.ha...@gmail.com on 22 Jun 2011 at 7:14

GoogleCodeExporter commented 9 years ago
body("something.%s[%d]", withArgs("else", 2), hasItems(..)).

Original comment by johan.ha...@gmail.com on 18 Aug 2011 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 18 Aug 2011 at 2:33