package ge.edu.freeuni.sdp.xo.game;

import static org.junit.Assert.assertEquals;

import javax.ws.rs.core.Application;
import javax.ws.rs.core.Response;

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.test.JerseyTest;
import org.junit.Test;

/**
 * @author Giorgi
 *
 */
public class PingServiceTest extends JerseyTest {

	@Override
	protected Application configure() {
		return new ResourceConfig(PingService.class);
	}

	@Test
	public void testGet() {
		Response actual = target("ping").request().get();
		assertEquals(Response.Status.OK.getStatusCode(), actual.getStatus());
	}

}

@@ -508,16 +508,23 @@
 target(%22
+webapi/
 ping%22).r

fix bug, recover ping path