Use expect in DockerCreateContainerFunctionalTest
MODIFY
src/functTest/groovy/com/bmuschko/gradle/docker/tasks/container/DockerCreateContainerFunctionalTest.groovy
src/functTest/groovy/com/bmuschko/gradle/docker/tasks/container/DockerCreateContainerFunctionalTest.groovy
@@ -48,11 +48,8 @@ class DockerCreateContainerFunctionalTest extends AbstractGroovyDslFunctionalTes
}
"""
- when:
+ expect:
build('inspectContainer')
-
- then:
- noExceptionThrown()
}
def "can override default MAC address"() {

Use expect in DockerCreateContainerFunctionalTest