title: How can I fix the missing implicit value for parameter ta: TildeArrow in a test spec
body: <p>I'm working on a simple test spec using spray and I can't get it to compile correctly, don't know if I'm doing anything wrong. My version of scala is 2.9.3 and spray 1.0.1 (Updating either of them is not a suitable option). Here's my test spec's code:</p>
  
  <pre><code>import org.specs2.mutable.Specification
  import spray.testkit.Specs2RouteTest
  import spray.http._
  import akka.util.Duration
  import java.util.concurrent.TimeUnit
  
  import service.MyProxy
  
  abstract class MyTestSpec extends Specification with Specs2RouteTest with MyProxy{
  
    val duration = Duration(30, TimeUnit.SECONDS)
    implicit val routeTestTimeout = RouteTestTimeout(duration)
  
    "MyProxy" should {
  
      "return a json for GET requests to the /api/getclass/classCode path for a regular request" in {
        Get("/api/getclass/123/") ~&gt; myRoutes~&gt; check {
          responseAs[String] must contain("classCode")
          contentType === ContentTypes.`application/json`
        }
      }
  
    } // end should...
  } //end class
  </code></pre>
  
  <p>I'm getting this error when I run the test.</p>
  
  <pre><code>[error] C:\Users\Desktop\Project\MyTestSpec.scala:23: could not find implicit value for parameter ta: MyProxySpec.this.TildeArrow[spray.routing.RequestContext,Unit]
  [error]       Get("/api/getclass/123/") ~&gt; myRoutes~&gt; check {
  [error]                                         ^
  [error] one error found
  [error] (test:compile) Compilation failed
  </code></pre>
  
  <p>I've tried different solutions seen on another questions and nothing seems to work so far.</p>
  
  <p><a href="https://stackoverflow.com/questions/27941358/spray-io-cant-compile-test-spec">Spray.io: Can&#39;t compile test spec</a></p>
  
  <p><a href="https://stackoverflow.com/questions/23649081/how-to-make-scalatest-work-with-spraytestkit-and-httpserviceactor">how to make scalatest work with spraytestkit and HttpServiceActor</a></p>
  
  <p><a href="https://stackoverflow.com/questions/24775106/basic-spray-testkit-usage-to-test-a-route-does-not-work">Basic Spray-Testkit usage to test a route does not work</a></p>
  
  <p><a href="https://groups.google.com/forum/#!topic/spray-user/H5hkXuDGWYQ" rel="noreferrer">https://groups.google.com/forum/#!topic/spray-user/H5hkXuDGWYQ</a></p>
  
  <p><a href="https://groups.google.com/forum/#!topic/spray-user/zFUJSVBPM5c" rel="noreferrer">https://groups.google.com/forum/#!topic/spray-user/zFUJSVBPM5c</a></p>
  
  <p><strong>NOTE:</strong> Just for the record, I'm not using scalatest or scalacheck on this. Is purely a [spray] route test.And MyProxy extends Actor</p>