From 613b2d800ddb627f19ac63f93813f50f06bb20ce Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Tue, 12 May 2015 12:43:19 +0200 Subject: [PATCH] [#5] Added missing file --- .../io/codearte/accurest/dsl/WiremockGroovyDslSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accurest-core/src/test/groovy/io/codearte/accurest/dsl/WiremockGroovyDslSpec.groovy b/accurest-core/src/test/groovy/io/codearte/accurest/dsl/WiremockGroovyDslSpec.groovy index 4ff7fa09f5..b813ee11ef 100755 --- a/accurest-core/src/test/groovy/io/codearte/accurest/dsl/WiremockGroovyDslSpec.groovy +++ b/accurest-core/src/test/groovy/io/codearte/accurest/dsl/WiremockGroovyDslSpec.groovy @@ -239,7 +239,7 @@ class WiremockGroovyDslSpec extends WiremockSpec { GroovyDsl groovyDsl = GroovyDsl.make { request { url $( - client(~/\/^[0-9]{2}$/), + client(~/^\/[0-9]{2}$/), server('/12') ) } @@ -247,7 +247,7 @@ class WiremockGroovyDslSpec extends WiremockSpec { expect: new WiremockRequestStubStrategy(groovyDsl).buildClientRequestContent() == new JsonSlurper().parseText(''' { - "urlPattern":"/^[0-9]{2}$" + "urlPattern":"^/[0-9]{2}$" } ''') }