diff --git a/spock-container-test-app/src/integration-test/groovy/org/demo/spock/DownloadSupportSpec.groovy b/spock-container-test-app/src/integration-test/groovy/org/demo/spock/DownloadSupportSpec.groovy new file mode 100644 index 0000000..0244a14 --- /dev/null +++ b/spock-container-test-app/src/integration-test/groovy/org/demo/spock/DownloadSupportSpec.groovy @@ -0,0 +1,16 @@ +package org.demo.spock + +import grails.plugin.geb.ContainerGebSpec +import grails.testing.mixin.integration.Integration + +@Integration +class DownloadSupportSpec extends ContainerGebSpec { + + void 'should be able to use download methods'() { + when: + go '/' + + then: + downloadText().contains('Welcome to Grails') + } +} \ No newline at end of file