Skip to content

Commit 089f296

Browse files
committed
Update FunctionalSpec
- Use the url of Apache Geb manual - Update the default test Closes gh-32
1 parent 1fe96ec commit 089f296

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/templates/FunctionalSpec.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import grails.testing.mixin.integration.Integration
66
import geb.spock.*
77

88
/**
9-
* See http://www.gebish.org/manual/current/ for more instructions
9+
* See https://groovy.apache.org/geb/manual/current/ for more instructions
1010
*/
1111
@Integration
1212
@Rollback
@@ -18,11 +18,11 @@ class ${className}Spec extends GebSpec {
1818
def cleanup() {
1919
}
2020

21-
void "test something"() {
22-
when:"The home page is visited"
21+
void "test the homepage title"() {
22+
when: "The homepage is visited"
2323
go '/'
2424

25-
then:"The title is correct"
25+
then: "The title is correct"
2626
title == "Welcome to Grace"
2727
}
2828
}

0 commit comments

Comments
 (0)