Skip to content

Commit eeb54d9

Browse files
committed
The generated ServiceSpec.groovy should be in integration-test
See gh-1416
1 parent 89b11f1 commit eeb54d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grace-plugin-scaffolding/src/main/groovy/org/grails/cli/generator/ScaffoldGenerator.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class ScaffoldGenerator extends AbstractGenerator {
107107
String controllerFile = 'app/controllers/' + defaultPackagePath + '/' + className + 'Controller.groovy'
108108
String controllerSpecFile = 'src/test/groovy/' + defaultPackagePath + '/' + className + 'ControllerSpec.groovy'
109109
String serviceFile = 'app/services/' + defaultPackagePath + '/' + className + 'Service.groovy'
110-
String serviceSpecFile = 'src/test/groovy/' + defaultPackagePath + '/' + className + 'ServiceSpec.groovy'
110+
String serviceSpecFile = 'src/integration-test/groovy/' + defaultPackagePath + '/' + className + 'ServiceSpec.groovy'
111111
String createGspFile = 'app/views/' + propertyName + '/' + 'create.gsp'
112112
String editGspFile = 'app/views/' + propertyName + '/' + 'edit.gsp'
113113
String indexGspFile = 'app/views/' + propertyName + '/' + 'index.gsp'

0 commit comments

Comments
 (0)