We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f817b4 commit f2b134bCopy full SHA for f2b134b
test/controllers/JsonoidControllerSpec.scala
@@ -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