Permalink
Browse files

*THOSE* tests aren't valid

  • Loading branch information...
1 parent ae0fb4d commit 5c1afe58b97b783f1b07260b963858231f279c0d David Kowis committed Nov 20, 2013
@@ -63,33 +63,4 @@ class CustomMatcherSpec extends Specification {
content == "Hey look some text: BUTTS"
}
-
- void "When the tape only contains a single entry in #mode, it should only match once"() {
- given:
- def imr = new InstrumentedMatchRule()
- def proxyConfig = ProxyConfiguration.builder()
- .sslEnabled(true)
- .tapeRoot(tapeRoot)
- .defaultMode(mode)
- .defaultMatchRule(imr)
- .build()
-
- def recorder = new Recorder(proxyConfig)
- recorder.start("httpBinTape")
-
- when:
- assert (imr.counter.get() == 0)
- def response = simplePost("https://httpbin.org/post", "BUTTS")
-
- then:
- recorder.stop()
-
- imr.counter.get() == 1
- response == "Hey look some text: BUTTS"
-
- where:
- mode << [TapeMode.READ_ONLY, TapeMode.READ_WRITE]
- }
-
-
}

0 comments on commit 5c1afe5

Please sign in to comment.