         hasFailure = true
       }
       if specStatus == .Unknown {
-        let name = getClassNameOfObject(spec as! AnyObject)
+        let name = getClassNameOfObject(spec)
         println("Unknown status of spec: \(name)"); exit(2)
       }
     }

}
*/

public protocol Spec {
  func spec()
}


      specStatus = .Unknown

      let block = {
        self.runSpec(spec)
      }

      let timeout: NSTimeInterval = 2; // 2 seconds in the future
