E.g. instead of
given().auth().basic("john", "doe").expect()..
given().auth().basic("john", "doe").expect()..
given().auth().basic("john", "doe").expect()..
you could do:
RestAssured.defaultAuth = basic("john", "doe");
Original issue reported on code.google.com by johan.ha...@gmail.com on 24 Jan 2011 at 11:31
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 24 Jan 2011 at 11:31