Permalink
Browse files

hack to avoid logging crap inside sbt.

  • Loading branch information...
1 parent f4ab63a commit 72a72b21048cc010e1c75748cd68f814c0826ad8 Robey Pointer committed Apr 29, 2010
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/test/scala/net/lag/TestHelper.scala
@@ -19,11 +19,19 @@ package net.lag
import _root_.java.io.File
import _root_.java.util.UUID
+import _root_.net.lag.logging.Logger
+import _root_.org.specs.Specification
-trait TestHelper {
+trait TestHelper { self: Specification =>
private val _folderName = new ThreadLocal[File]
+ new SpecContext {
+ beforeSpec {
+ Logger.get("").setLevel(Logger.FATAL)
+ }
+ }
+
/**
* Recursively delete a folder. Should be built in; bad java.
*/

0 comments on commit 72a72b2

Please sign in to comment.