     @events.emit 'test:error', name: @description, error: @error
 
 class ExampleGroupWithoutHooks
-  constructor: (@assertions, @binding, @bare, @blocks, @onFinish, @onError)-> @nextIndex = 0
+  constructor: (@params, @binding, @bare, @blocks, @onFinish, @onError)->
+    @nextIndex = 0
 
   run: ->
     @wasSuccessful = true

      onFinish error

  runGroup: (group, onError, onFinish)->
    new ExampleGroupWithoutHooks(@assertions, @binding, @bare, group, onFinish, onError).run()

  onBeforeError: (error)-> error.source = "before hook"; @registerError error
  onAfterError:  (error)-> error.source = "after hook";  @registerError error

    (@reportDeferred(nextStep.description); @runNextStep(); return) if nextStep.pending
    nextTick =
      if nextStep instanceof Description then =>
        nextStep.run @params, @runNextStep, @dsl._beforeBlocks_, @dsl._afterBlocks_
      else => # ExampleWithHooks
        nextStep.run @params, @binding, @bare, @onExampleFinished
    setTimeout nextTick, 0

  onExampleFinished: (error)=>
