Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 237 Bytes
package service
class PingServiceSpec extends ServiceSpec {
def "ping service is alive"() {
when:
def resp = get(path: "/ping")
then:
resp.status == 200
resp.contentType == "application/json"
resp.data.alive == true
}
}