Updated the contracts

This commit is contained in:
Marcin Grzejszczak
2017-05-31 16:14:06 +02:00
parent 8979b79c56
commit baf294dbbf
2 changed files with 6 additions and 6 deletions

View File

@@ -1184,9 +1184,9 @@ World.'''"""
// `name` and `content`. You can also call `named("fileName", "fileContent")`
file: named(
// name of the file
name: $(c(regex('.+')), p('filename.csv')),
name: $(c(regex(nonEmpty())), p('filename.csv')),
// content of the file
content: $(c(regex('.+')), p('file content')))
content: $(c(regex(nonEmpty())), p('file content')))
)
}
response {
@@ -1235,9 +1235,9 @@ World.'''"""
// `name` and `content`. You can also call `named("fileName", "fileContent")`
file: named(
// name of the file
name: $(c(regex('.+')), p('filename.csv')),
name: $(c(regex(nonEmpty())), p('filename.csv')),
// content of the file
content: $(c(regex('.+')), p('file content')))
content: $(c(regex(nonEmpty())), p('file content')))
)
}
response {

View File

@@ -1517,9 +1517,9 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
// a parameter name (e.g. file)
file: named(
// name of the file
name: $(c(regex('.+')), p('filename.csv')),
name: $(c(regex(nonEmpty())), p('filename.csv')),
// content of the file
content: $(c(regex('.+')), p('file content')))
content: $(c(regex(nonEmpty())), p('file content')))
)
}
response {