Mercurial > hg > Members > nobuyasu > TOModel
view test/ApplicationTest.java @ 3:5a097a2336fa draft
commit
author | e085711 |
---|---|
date | Wed, 26 Sep 2012 14:43:07 +0900 |
parents | e45bf6020b0d |
children |
line wrap: on
line source
import org.junit.*; import play.test.*; import play.mvc.*; import play.mvc.Http.*; public class ApplicationTest extends FunctionalTest { @Test public void testThatIndexPageWorks() { Response response = GET("/"); assertIsOk(response); assertContentType("text/html", response); assertCharset(play.Play.defaultWebEncoding, response); } }