 
   it 'parses reply-with-file.nb', ->
     scope = new Scope
-    nockingbird.load scope, __dirname + '/nb/reply-with-file.nb', '/tmp'
+    nockingbird.load scope, "#{__dirname}/nb/reply-with-file.nb", '/tmp'
     assert.deepEqual scope.__log__, [
       ['get', '/']
       ['replyWithFile', 200, '/tmp/index.html', {}]

  it 'throws while parsing invalid-request-method.nb', ->
    scope = new Scope
    assert.throws ->
      nockingbird.load scope, __dirname + '/nb/invalid-request-method.nb'
    , (err) ->
      err.constructor is Error and
      err.message is 'Invalid request method "get"'

  it 'ensures status code is a number', ->
    scope = new Scope
    nockingbird.load scope, __dirname + '/nb/hello-world.nb'
    assert.strictEqual scope.__log__[1][1], 200


  it 'parses request-methods.nb', ->
    scope = new Scope
    nockingbird.load scope, "#{__dirname}/nb/request-methods.nb"
    assert.deepEqual scope.__log__, [
      ['get', '/']
      ['reply', 200, 'GET request successful', {}]
