+str #18906 add Sink.headOption

This commit is contained in:
Konrad Malawski 2015-11-10 15:15:59 +01:00
parent 985e3b1c2f
commit 8650d0c473
8 changed files with 92 additions and 33 deletions

View file

@ -20,8 +20,8 @@ class StreamingResponseSpecs extends RoutingSpec {
val route = complete(response)
Get() ~> route ~> check {
status should ===(OK)
responseAs[String] shouldEqual ""
status should ===(StatusCodes.OK)
responseAs[String] should === ("")
}
}