   dredd = {}
 
   beforeEach () ->
-    # sinon.spy Drafter::, 'make'
+    sinon.spy DrafterClassStub::, 'make'
     sinon.spy fsStub, 'readFile'
 
   afterEach () ->
-    # Drafter::make.restore()
+    DrafterClassStub::make.restore()
     fsStub.readFile.restore()
 
   describe 'with legacy configuration', () ->

proxyquire = require('proxyquire').noCallThru()

fsStub = require 'fs'
Drafter = require 'drafter'
requestStub = require 'request'
loggerStub = require '../../src/logger'


        dredd.runner.executeTransaction.restore()
        done()

    it 'should parse blueprint to ast', (done) ->
      dredd = new Dredd(configuration)
      sinon.stub dredd.runner, 'executeTransaction', (transaction, callback) ->
        callback()
      dredd.run (error) ->
        assert.ok DrafterClassStub::make.called
        dredd.runner.executeTransaction.restore()
        done()

