Skip to content

Instantly share code, notes, and snippets.

@derekwyatt
Last active August 29, 2015 14:06
Show Gist options
  • Save derekwyatt/de79334cf2c530d5ac14 to your computer and use it in GitHub Desktop.
Save derekwyatt/de79334cf2c530d5ac14 to your computer and use it in GitHub Desktop.
class MyActorSpect // with mixins
{
class SubActorSys(name) extends ActorSys(name) {
def makeActor(): ActorRef = system.actorOf(Props(new MyActor), "MyActor")
}
"My Actor" should {
"do something" in new SubActorSys("Test1") {
// blah
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment