       methods = clazz.getMethods()
 
       # resolve all delegations in methods
-      for method in methods by 1
+      for method in methods
         delegation = method.doc.delegation
         if delegation
           originalStatus = method.doc.status

          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)

  checkDelta = (delta) ->
    if delta?

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

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