diff --git a/webui/grails-app/controllers/webui/HelloController.groovy b/webui/grails-app/controllers/webui/HelloController.groovy new file mode 100644 index 00000000..e1f8ee52 --- /dev/null +++ b/webui/grails-app/controllers/webui/HelloController.groovy @@ -0,0 +1,8 @@ +package webui + +class HelloController { + + def index() { + render "Hello from MuWire" + } +} diff --git a/webui/src/test/groovy/webui/HelloControllerSpec.groovy b/webui/src/test/groovy/webui/HelloControllerSpec.groovy new file mode 100644 index 00000000..48837983 --- /dev/null +++ b/webui/src/test/groovy/webui/HelloControllerSpec.groovy @@ -0,0 +1,18 @@ +package webui + +import grails.testing.web.controllers.ControllerUnitTest +import spock.lang.Specification + +class HelloControllerSpec extends Specification implements ControllerUnitTest { + + def setup() { + } + + def cleanup() { + } + + void "test something"() { + expect:"fix me" + true == false + } +}