-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport DownloadSupportSpec & fix downloads
- Loading branch information
1 parent
da82dff
commit a5e0137
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...-container-test-app/src/integration-test/groovy/org/demo/spock/DownloadSupportSpec.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters