Skip to content

Commit f2b134b

Browse files
committed
Add simple test
1 parent 2f817b4 commit f2b134b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package controllers
2+
3+
import org.scalatestplus.play._
4+
import org.scalatestplus.play.guice._
5+
import play.api.test._
6+
import play.api.test.Helpers._
7+
8+
9+
class JsonoidControllerSpec extends PlaySpec with GuiceOneAppPerTest with Injecting {
10+
"JsonoidController /status" should {
11+
"return ok" in {
12+
val controller = app.injector.instanceOf[JsonoidController]
13+
val result = controller.status().apply(FakeRequest())
14+
status(result) mustBe OK
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)