Permalink
Browse files

added test for foo route

  • Loading branch information...
jamesward committed Apr 1, 2015
1 parent dccff78 commit 7d6886e2ff953a6bc153d8209f2d7e017b729bc6
Showing with 17 additions and 0 deletions.
  1. +17 −0 test/FooTest.java
View
@@ -0,0 +1,17 @@
+import org.junit.Test;
+import play.mvc.Result;
+import play.test.Helpers;
+import play.test.WithApplication;
+
+import static play.test.Helpers.*;
+import static org.fest.assertions.Assertions.*;
+
+public class FooTest extends WithApplication {
+
+ @Test
+ public void testFooRoute() {
+ Result result = route(fakeRequest(GET, "/foo"));
+ assertThat(result).isNotNull();
+ }
+
+}

0 comments on commit 7d6886e

Please sign in to comment.