-
-
Save henesgokdag/39e851304ebd384e79bb63294b354506 to your computer and use it in GitHub Desktop.
RestAssured-RickAndMortyApi_BaseService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Services; | |
import io.restassured.RestAssured; | |
import io.restassured.specification.RequestSpecification; | |
public class BaseService { | |
public RequestSpecification setupRequestSpecification(){ | |
RequestSpecification requestSpecification = RestAssured.given().baseUri("https://rickandmortyapi.com/api"); | |
return requestSpecification; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment