datahub/wherehows-api/test/IntegrationTest.java

22 lines
434 B
Java
Raw Normal View History

2015-11-19 14:39:21 -08:00
import org.junit.*;
import play.libs.ws.WS;
2015-11-19 14:39:21 -08:00
import static play.test.Helpers.*;
import static org.fest.assertions.api.Assertions.*;
2015-11-19 14:39:21 -08:00
@Ignore
2015-11-19 14:39:21 -08:00
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);
}
});
}
}