 
         model.fetch()
           .then(done)
-          .catch((error) ->
-            fail(error.message)
+          .catch((error) =>
+            @fail(error.message)
             done()
           )
 

        Request.receiveJSON.returns(Promise.reject(new Error("errorMessage")))

        model.fetch()
          .then(->
            fail("Promise should not have been resolved.")
            done()
          ).catch( (error) ->
            expect(error.message).toBe("errorMessage")

        Request.receiveJSON.returns(Promise.resolve(tracingObject))

        model.fetch()
          .then(=>
            @fail("Promise should not have been resolved.")
            done()
          ).catch( (error) ->
            expect(error).toBe(Model::HANDLED_ERROR)
