Commit a8af2547 authored by N Jain's avatar N Jain Committed by Andy Wilkinson

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
parent 468db03a
......@@ -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())
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment