diff options
| author | Horus_Arch | 2015-02-18 17:03:41 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-18 17:03:41 +0100 |
| commit | cb5f3037bb18403433c2cfd0271f6bea76906aca (patch) | |
| tree | 448397529fdbd1660b12001918289e04aa1c7ea6 /tests/apptest.go | |
| parent | d6ab45e8ec5f26004b4efc07383245051d546bf3 (diff) | |
| download | statuspage-cb5f3037bb18403433c2cfd0271f6bea76906aca.tar.gz | |
Reimplementation with gorilla toolkit.
Diffstat (limited to 'tests/apptest.go')
| -rw-r--r-- | tests/apptest.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/apptest.go b/tests/apptest.go deleted file mode 100644 index 7be1605..0000000 --- a/tests/apptest.go +++ /dev/null @@ -1,21 +0,0 @@ -package tests - -import "github.com/revel/revel" - -type AppTest struct { - revel.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") -} |
