Campoie / rest-assured

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

Support for default authentication #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 12 Feb 2011 at 6:44