simple fix to get tests running - still needs test to test relative uris
authorHenry Story <henry.story@bblfish.net>
Mon, 25 Jun 2012 10:24:52 +0200
changeset 232 a25e35961998
parent 231 f99a74fb8b54
child 233 02eb38a29272
simple fix to get tests running - still needs test to test relative uris
src/test/scala/auth/secure_specs.scala
src/test/scala/util/specs.scala
--- a/src/test/scala/auth/secure_specs.scala	Mon Jun 25 10:07:32 2012 +0200
+++ b/src/test/scala/auth/secure_specs.scala	Mon Jun 25 10:24:52 2012 +0200
@@ -110,6 +110,7 @@
     val rm = resourceManager
     def manif = manifest[ReceivedMessage]
     override val authz = new RDFAuthZ[ReceivedMessage,HttpResponse](resourceManager)
+    val base = None
   }
 
   def setup = { _.plan(rww) }
--- a/src/test/scala/util/specs.scala	Mon Jun 25 10:07:32 2012 +0200
+++ b/src/test/scala/util/specs.scala	Mon Jun 25 10:24:52 2012 +0200
@@ -20,9 +20,10 @@
   def resourceManager: ResourceManager
 
   val rww = new ReadWriteWeb[HttpServletRequest,HttpServletResponse] {
-     val rm = resourceManager
-     def manif = manifest[HttpServletRequest]
-   }
+    val rm = resourceManager
+    def manif = manifest[HttpServletRequest]
+    val base = None
+  }
 
   def setup = { _.filter(Planify(rww.intent)) }
  
@@ -39,6 +40,8 @@
   val rww = new cycle.Plan  with cycle.ThreadPool with ServerErrorResponse with ReadWriteWeb[ReceivedMessage,HttpResponse] {
     val rm = resourceManager
     def manif = manifest[ReceivedMessage]
+
+    val base = None
   }
 
   def setup = { _.plan(rww) }