fix import in testkit example; fixes #833
This commit is contained in:
parent
23d85e4627
commit
d97e0c1672
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
TestKit Example
|
||||
###############
|
||||
|
||||
Ray Roestenburg's example code from `his blog <http://roestenburg.agilesquad.com/2011/02/unit-testing-akka-actors-with-testkit_12.html>`_.
|
||||
Ray Roestenburg's example code from `his blog <http://roestenburg.agilesquad.com/2011/02/unit-testing-akka-actors-with-testkit_12.html>`_ adapted to work with Akka 1.1.
|
||||
|
||||
.. code-block:: scala
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ Ray Roestenburg's example code from `his blog <http://roestenburg.agilesquad.com
|
|||
import org.scalatest.{WordSpec, BeforeAndAfterAll}
|
||||
import akka.actor.Actor._
|
||||
import akka.util.duration._
|
||||
import akka.util.TestKit
|
||||
import akka.testkit.TestKit
|
||||
import java.util.concurrent.TimeUnit
|
||||
import akka.actor.{ActorRef, Actor}
|
||||
import util.Random
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue