       @emit 'complete'
   
   _run_after_alls: (callback) =>
-    @_run_runners @_after_alls, =>
+    if @session.ran_a_test
+      @_run_runners @_after_alls, =>
+        @emit 'after_all', [], =>
+          callback()
+    else
       @emit 'after_all', [], =>
         callback()
   

  
  _run: =>
    @session =
      ran_before_alls: false
      index: -1
      meta:
        description: @description

  
  _run_before_alls: (meta, callback) =>
    @emit 'before_all', [meta], =>
      if not @session.ran_a_test
        @session.ran_a_test = true
        @_run_runners @_before_alls, =>
          callback()
      else
