Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
17 changes: 8 additions & 9 deletions
17
test/integration/guard/grails/SampleServiceSpec.groovy
100644 → 100755
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 |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package guard.grails | ||
import grails.plugin.spock.IntegrationSpec | ||
|
||
import spock.lang.* | ||
import grails.plugin.spock.IntegrationSpec | ||
|
||
class SampleServiceSpec extends IntegrationSpec { | ||
|
||
def sampleService | ||
def sampleService | ||
|
||
def "injected sampleService is present"() { | ||
when: | ||
def msg = sampleService.helloWorld() | ||
def "injected sampleService is present"() { | ||
when: | ||
def msg = sampleService.helloWorld() | ||
|
||
then: | ||
msg == "Hello World!" | ||
} | ||
then: | ||
msg == "Hello World!" | ||
} | ||
} |