           method.doc.status = originalStatus
 
     # [0], because we don't want the parsed files in the resulting JSON
-    generated = JSON.stringify([parser.toJSON()[0]], null, 2)
+    JSON.stringify([parser.toJSON()[0]], null, 2)
 
   checkDelta = (delta) ->
     if delta?

      delta = constructDelta("spec/templates/methods/curly_method_documentation.coffee")
      checkDelta(delta)

    it 'understands private classes', ->
      delta = constructDelta("spec/templates/methods/fixtures/private_class.coffee")
      checkDelta(delta)

    it 'understands hash parameters', ->
      delta = constructDelta("spec/templates/methods/hash_parameters.coffee")
      checkDelta(delta)

    diff(expected, generated)

  followReferences = (parser) ->
    parser.parseFile "spec/templates/methods/method_example.coffee"
    parser.parseFile "spec/templates/methods/curly_method_documentation.coffee"
    parser.parseFile "spec/templates/methods/fixtures/private_class.coffee"

    # since delegation happens in the generator, we need to force that magic here
    generator = new Generator(parser,
                              noOutput: true
