 
       before (done) ->
 
-        ramlParser.loadFile("#{__dirname}/../fixtures/ref_other_schemas.raml")
-        .then (data) ->
-          callback = sinon.stub()
-          callback.returns(done())
-
-          addTests data, tests, hooks, callback, testFactory
-        , done
-      after ->
-        tests = []
-
-      it 'should run callback', ->
-        assert.ok callback.called
-
-      it 'should added 1 test', ->
+        ramlFile = "#{RAML_DIR}/ref_other_schemas.raml"
+        ramlParser.loadFile(ramlFile)
+        .then (data) ->
+          callback = sinon.stub()
+          callback.returns(done())
+
+          addTests data, tests, hooks, callback, testFactory
+        , done
+      after ->
+        tests = []
+
+      it 'should run callback', ->
+        assert.ok callback.called
+
+      it 'should add 1 test', ->
         assert.lengthOf tests, 1
 
       it 'should set test.name', ->

  'mocha': mochaStub
}

describe '#addTests', ->

  describe '#run', ->


      before (done) ->

        ramlFile = "#{RAML_DIR}/no-method.raml"
        ramlParser.loadFile(ramlFile)
        .then (data) ->
          callback = sinon.stub()
          callback.returns(done())

          addTests data, tests, hooks, callback, testFactory
        , done

      after ->
        tests = []

      it 'should run callback', ->
        assert.ok callback.called

      it 'should add 1 test', ->
        assert.lengthOf tests, 1

      it 'should set test.name', ->
