hello webui
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package webui
|
||||
|
||||
class HelloController {
|
||||
|
||||
def index() {
|
||||
render "Hello from MuWire"
|
||||
}
|
||||
}
|
18
webui/src/test/groovy/webui/HelloControllerSpec.groovy
Normal file
18
webui/src/test/groovy/webui/HelloControllerSpec.groovy
Normal file
@@ -0,0 +1,18 @@
|
||||
package webui
|
||||
|
||||
import grails.testing.web.controllers.ControllerUnitTest
|
||||
import spock.lang.Specification
|
||||
|
||||
class HelloControllerSpec extends Specification implements ControllerUnitTest<HelloController> {
|
||||
|
||||
def setup() {
|
||||
}
|
||||
|
||||
def cleanup() {
|
||||
}
|
||||
|
||||
void "test something"() {
|
||||
expect:"fix me"
|
||||
true == false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user