Fixing TestActorRefSpec, now everything's green

This commit is contained in:
Viktor Klang 2011-10-29 00:36:42 +02:00
parent d64b2a7292
commit 91545a4b52
6 changed files with 7 additions and 12 deletions

View file

@ -224,10 +224,7 @@ class TestActorRefSpec extends AkkaSpec with BeforeAndAfterEach {
"proxy apply for the underlying actor" in {
val ref = TestActorRef[WorkerActor]
ref("work")
val ch = Promise[String](5000)
ref ! ch
ch must be('completed)
ch.get must be("complexReply")
ref.isShutdown must be(true)
}
}