Updated code after feedback; the actual ActorRef's are returned instead of the name of them. See #1495
This commit is contained in:
parent
3ff779cabd
commit
5aa4784ea2
2 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue