From cdc5492101d1152127cfbebc8ad3d99b6ef64ebb Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 5 Dec 2011 21:03:05 +0100 Subject: [PATCH] correct spelling of Davy Jones --- akka-testkit/src/test/scala/akka/testkit/AkkaSpec.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/akka-testkit/src/test/scala/akka/testkit/AkkaSpec.scala b/akka-testkit/src/test/scala/akka/testkit/AkkaSpec.scala index ed8b38ce10..bf81a29e3f 100644 --- a/akka-testkit/src/test/scala/akka/testkit/AkkaSpec.scala +++ b/akka-testkit/src/test/scala/akka/testkit/AkkaSpec.scala @@ -127,13 +127,13 @@ class AkkaSpecSpec extends WordSpec with MustMatchers { var locker = Seq.empty[DeadLetter] implicit val timeout = system.settings.ActorTimeout - implicit val davieJones = (system.actorFor("/") ? CreateChild(Props(new Actor { + implicit val davyJones = (system.actorFor("/") ? CreateChild(Props(new Actor { def receive = { case m: DeadLetter ⇒ locker :+= m } - }), "davieJones")).as[ActorRef].get + }), "davyJones")).as[ActorRef].get - system.eventStream.subscribe(davieJones, classOf[DeadLetter]) + system.eventStream.subscribe(davyJones, classOf[DeadLetter]) val probe = new TestProbe(system) probe.ref ! 42 @@ -144,7 +144,7 @@ class AkkaSpecSpec extends WordSpec with MustMatchers { latch.await(2 seconds) // this will typically also contain log messages which were sent after the logger shutdown - locker must contain(DeadLetter(42, davieJones, probe.ref)) + locker must contain(DeadLetter(42, davyJones, probe.ref)) } }