=pro #3759 Changed to using non-deprecated ScalaTest Matchers

This commit is contained in:
Björn Antonsson 2013-12-17 14:25:56 +01:00
parent b8c7d7badd
commit 003609c9c5
246 changed files with 2822 additions and 2822 deletions

View file

@ -47,9 +47,9 @@ class LookupRemoteActorSpec extends MultiNodeSpec(LookupRemoteActorMultiJvmSpec)
system.actorSelection(node(master) / "user" / "service-hello") ! Identify("id1")
expectMsgType[ActorIdentity].ref.get
}
hello.isInstanceOf[RemoteActorRef] must be(true)
hello.isInstanceOf[RemoteActorRef] should be(true)
val masterAddress = testConductor.getAddressFor(master).await
(hello ? "identify").await.asInstanceOf[ActorRef].path.address must equal(masterAddress)
(hello ? "identify").await.asInstanceOf[ActorRef].path.address should equal(masterAddress)
}
enterBarrier("done")
}