Updated code after feedback; the actual ActorRef's are returned instead of the name of them. See #1495

This commit is contained in:
Henrik Engstrom 2011-12-19 16:35:35 +01:00
parent 3ff779cabd
commit 5aa4784ea2
2 changed files with 7 additions and 6 deletions

View file

@ -73,9 +73,9 @@ class RoutingSpec extends AkkaSpec with DefaultTimeout with ImplicitSender {
def receive = {
case RouterRoutees(iterable)
iterable.exists(_ == "routee1") must be(true)
iterable.exists(_ == "routee2") must be(true)
iterable.exists(_ == "routee3") must be(false)
iterable.exists(_.path.name == "routee1") must be(true)
iterable.exists(_.path.name == "routee2") must be(true)
iterable.exists(_.path.name == "routee3") must be(false)
doneLatch.countDown()
case "doIt"
router ! CurrentRoutees