+act #3769 Add toStringWithoutAddress to ActorPath

This commit is contained in:
Patrik Nordwall 2014-01-08 17:51:18 +01:00
parent e25455e935
commit 7648a50d53
12 changed files with 46 additions and 29 deletions

View file

@ -539,9 +539,9 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
lastSender should equal(actor)
actor ! me
expectMsg("reply")
lastSender.path.elements.mkString("/", "/", "") should equal("/user")
lastSender.path.toStringWithoutAddress should equal("/user")
expectMsg("reply")
lastSender.path.elements.mkString("/", "/", "") should equal("/user")
lastSender.path.toStringWithoutAddress should equal("/user")
}
"using ActorDSL outside of akka.actor package" in {