Skip to content

Commit

Permalink
test: add test for download support
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Nov 28, 2024
1 parent 8824159 commit c2626c9
Showing 1 changed file with 16 additions and 0 deletions.
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')
}
}

0 comments on commit c2626c9

Please sign in to comment.