Skip to content

Commit

Permalink
04-slick made wrapped db.shutdown in Await.result
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhargulati committed Feb 15, 2016
1 parent 03eb6db commit 3d65090
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DataModelSpec extends FunSpec with Matchers with BeforeAndAfterEach {
Await.result(db.run(DataModel.createTaskTableAction), 2 seconds)
}

override protected def afterEach(): Unit = db.shutdown
override protected def afterEach(): Unit = Await.result(db.shutdown, 2 seconds)

describe("DataModel Spec") {

Expand Down

0 comments on commit 3d65090

Please sign in to comment.