Fix description of test file to be tests.groovy
Corrected the documentation to refer to file as tests.groovy, rather than test.groovy. Updated cope snippet as tests.groovy should expect "Hello World!" rather than "Hello World". Closes gh-1593
This commit is contained in:
parent
468db03aef
commit
a8af254765
|
@ -220,7 +220,7 @@ In this example, `tests.groovy` contains JUnit `@Test` methods or Spock `Specifi
|
|||
classes. All the common framework annotations and static methods should be available to
|
||||
you without having to `import` them.
|
||||
|
||||
Here is the `test.groovy` file that we used above (with a JUnit test):
|
||||
Here is the `tests.groovy` file that we used above (with a JUnit test):
|
||||
|
||||
[source,groovy,indent=0]
|
||||
----
|
||||
|
@ -228,7 +228,7 @@ Here is the `test.groovy` file that we used above (with a JUnit test):
|
|||
|
||||
@Test
|
||||
void homeSaysHello() {
|
||||
assertEquals("Hello World", new WebApplication().home())
|
||||
assertEquals("Hello World!", new WebApplication().home())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue