Done #52 skeleton moved successfully to cmd repo

This commit is contained in:
Jeevanandam M
2016-06-25 19:45:14 -07:00
parent 28c0df2ff3
commit 54ef57e56d
24 changed files with 589 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
package tests
import "github.com/revel/revel/testing"
type AppTest struct {
testing.TestSuite
}
func (t *AppTest) Before() {
println("Set up")
}
func (t *AppTest) TestThatIndexPageWorks() {
t.Get("/")
t.AssertOk()
t.AssertContentType("text/html; charset=utf-8")
}
func (t *AppTest) After() {
println("Tear down")
}