Skip to content

Commit

Permalink
This test fails, and it shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kowis committed Nov 15, 2013
1 parent 25dcb20 commit 1030bb3
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -38,20 +38,19 @@ class CustomMatcherSpec extends Specification {
}


void "Doesn't change the tape when replaying an HTTPS connection"() {
void "Using a custom matcher, can replay the tape"() {
given:
def proxyConfig = ProxyConfiguration.builder()
.sslEnabled(true)
.tapeRoot(tapeRoot)
.defaultMode(TapeMode.READ_WRITE)
.defaultMode(TapeMode.READ_ONLY)
.defaultMatchRule(customMatchRule)
.build()

def recorder = new Recorder(proxyConfig)
recorder.start("httpBinTape")

when:
//TODO simple rest client?
def payload = "BUTTS"
HttpsURLConnection conn = new URL("https://httpbin.org/post").openConnection()
conn.setDoOutput(true)
Expand Down

0 comments on commit 1030bb3

Please sign in to comment.