summaryrefslogtreecommitdiff
path: root/project/build/Project.scala
diff options
context:
space:
mode:
authorMathias <mathias@spray.cc>2011-07-19 14:51:08 +0200
committerMathias <mathias@spray.cc>2011-07-19 14:51:08 +0200
commit4e3b5c1b5796caf21bf232624577658a028a3cd9 (patch)
tree40d050fc64b43834c708b4e72454c1b270a8d956 /project/build/Project.scala
parentd10193d65b19ff977a30cd5de4aa7ba640e0f795 (diff)
downloadspray-json-4e3b5c1b5796caf21bf232624577658a028a3cd9.tar.gz
spray-json-4e3b5c1b5796caf21bf232624577658a028a3cd9.tar.bz2
spray-json-4e3b5c1b5796caf21bf232624577658a028a3cd9.zip
Upgrade to Specs2 1.6-SNAPSHOT
Diffstat (limited to 'project/build/Project.scala')
-rw-r--r--project/build/Project.scala14
1 files changed, 11 insertions, 3 deletions
diff --git a/project/build/Project.scala b/project/build/Project.scala
index 3effd88..6a100fe 100644
--- a/project/build/Project.scala
+++ b/project/build/Project.scala
@@ -18,14 +18,22 @@ class Project(info: ProjectInfo) extends DefaultProject(info) with posterous.Pub
// -------------------------------------------------------------------------------------------------------------------
import Repositories._
+ val snapshots = "snapshots" at "http://scala-tools.org/repo-snapshots"
+
// -------------------------------------------------------------------------------------------------------------------
// Dependencies
// -------------------------------------------------------------------------------------------------------------------
val parboiledC = "org.parboiled" % "parboiled-core" % "1.0.1" % "compile" withSources()
val parboiledS = "org.parboiled" % "parboiled-scala" % "1.0.1" % "compile" withSources()
-
- val specs = "org.scala-tools.testing" %% "specs" % "1.6.8" % "test" withSources()
-
+
+ // -------------------------------------------------------------------------------------------------------------------
+ // Testing with Specs2
+ // -------------------------------------------------------------------------------------------------------------------
+ val specs2 = "org.specs2" %% "specs2" % "1.6-SNAPSHOT" % "test" withSources()
+
+ def specs2Framework = new TestFramework("org.specs2.runner.SpecsFramework")
+ override def testFrameworks = super.testFrameworks ++ Seq(specs2Framework)
+
// -------------------------------------------------------------------------------------------------------------------
// Options
// -------------------------------------------------------------------------------------------------------------------