You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
435 B

package de.codingchallenge
import akka.actor.ActorSystem
import akka.stream.ActorMaterializer
import org.scalatest.BeforeAndAfterAll
trait AkkaSpec extends BeforeAndAfterAll{ self: BaseSpec =>
implicit val system = ActorSystem("test")
implicit val dispatcher = system.dispatcher
implicit val materializer = ActorMaterializer()
override protected def afterAll(): Unit = {
super.afterAll()
system.terminate()
}
}