+htc #19708 provides default marshaller for akka.Done (200, empty text response)
This commit is contained in:
parent
4dd6efc6a8
commit
3d718cf1f1
4 changed files with 13 additions and 1 deletions
|
|
@ -27,6 +27,9 @@ class MarshallingSpec extends FreeSpec with Matchers with BeforeAndAfterAll with
|
|||
"StringMarshaller should marshal strings to `text/plain` content in UTF-8" in {
|
||||
marshal("Ha“llo") shouldEqual HttpEntity("Ha“llo")
|
||||
}
|
||||
"DoneMarshaller should enable marshalling of akka.Done" in {
|
||||
marshal(akka.Done) shouldEqual HttpEntity("")
|
||||
}
|
||||
"CharArrayMarshaller should marshal char arrays to `text/plain` content in UTF-8" in {
|
||||
marshal("Ha“llo".toCharArray) shouldEqual HttpEntity("Ha“llo")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue