datahub/web/test/IntegrationTest.java

21 lines
419 B
Java
Raw Normal View History

2015-11-19 14:39:21 -08:00
import org.junit.*;
import play.libs.WS;
import static play.test.Helpers.*;
import static org.fest.assertions.Assertions.*;
public class IntegrationTest {
@Test
public void test() {
running(testServer(3333), new Runnable() {
public void run() {
assertThat(WS.url("http://localhost:3333").get().get(1000*60).getStatus()).isEqualTo(OK);
}
});
}
}