mirror of https://github.com/zlatinb/muwire
hello webui
parent
a767dda044
commit
0de84e704b
|
@ -0,0 +1,8 @@
|
|||
package webui
|
||||
|
||||
class HelloController {
|
||||
|
||||
def index() {
|
||||
render "Hello from MuWire"
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue