Fix test code package name

This commit is contained in:
Tomofumi Tanaka
2015-03-16 23:38:00 +09:00
parent 825f2518e9
commit 7e92f1abd5
11 changed files with 71 additions and 43 deletions

View File

@@ -0,0 +1,15 @@
package gitbucket.core.util
import org.specs2.mutable._
class DirectorySpec extends Specification {
"GitBucketHome" should {
"set under target in test scope" in {
Directory.GitBucketHome mustEqual new java.io.File("target/gitbucket_home_for_test").getAbsolutePath
}
"exists" in {
new java.io.File(Directory.GitBucketHome).exists
}
}
}