Skip to content

Instantly share code, notes, and snippets.

@pepicrft
Created June 22, 2016 08:39
Show Gist options
  • Select an option

  • Save pepicrft/09cb0838aef77fdd3726fa98271f7b16 to your computer and use it in GitHub Desktop.

Select an option

Save pepicrft/09cb0838aef77fdd3726fa98271f7b16 to your computer and use it in GitHub Desktop.
// Recording requests
expect {
sendRequest1()
sendRequest2()
}.to(recordRequests(name: "my_test_requests"))
// Matching requests
expect{
sendRequest1()
sendRequest2()
}.to(matchRequests(name: "my_test_requests"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment