             assert.ok beforeAllStubAnother.called
             done()
 
-      describe 'with an afterAll hook', () ->
+      describe 'with an ‘afterAll’ hook', () ->
         legacyApiFunction = (callback) ->
           callback()
         anotherLegacyApiFunction = (cb) ->

              returnedError = error
              done()

          it 'should perform the beforeAll hook', () ->
            assert.isTrue spies.beforeAllSpy.called

          it 'should perform the beforeEach hook', () ->
            assert.isTrue spies.beforeEachSpy.calledOnce

          it 'should not perform any other hook', () ->
            for spyName,spy of spies
              break if spyName == 'beforeAllSpy'
              break if spyName == 'beforeEachSpy'
              assert.isFalse spies[spyName].called, spyName

              returnedError = error
              done()

          it 'should perform the ‘beforeAll’ hook', () ->
            assert.isTrue spies.beforeAllSpy.called

          it 'should perform the ‘beforeEach’ hook', () ->
            assert.isTrue spies.beforeEachSpy.calledOnce

          it 'should perform the ‘before’ hook', () ->
            assert.isTrue spies.beforeSpy.calledOnce

          it 'should perform the ‘beforeEachValidation’ hook', () ->
            assert.isTrue spies.beforeEachValidationSpy.calledOnce

          it 'should perform the ‘beforeValidation’ hook', () ->
            assert.isTrue spies.beforeValidationSpy.calledOnce

          it 'should perform the ‘afterEach’ hook', () ->
            assert.isTrue spies.afterEachSpy.calledOnce

          it 'should perform the ‘after’ hook', () ->
            assert.isTrue spies.afterSpy.calledOnce

          it 'should not perform any other hook', () ->
            for own spyName, spy of spies
              break if spyName == 'beforeAllSpy'
              break if spyName == 'beforeEachSpy'
              break if spyName == 'beforeSpy'
              break if spyName == 'beforeEachValidationSpy'
              break if spyName == 'beforeValidationSpy'
              break if spyName == 'after'
              assert.isFalse spies[spyName].called, spyName

          it 'should not perform any other transaction', () ->
            assert.isTrue serverNock1.isDone(), 'first resource'
            assert.isFalse serverNock2.isDone(), 'second resource'

          it 'should return the error', () ->
            assert.include returnedError.message, 'after 1'

        describe 'after ‘afterEach’ hook is executed', () ->
          beforeEach (done) ->
            hookHandlerError = new Error 'handler died in after each'

            hooks.afterEach (data, callback) ->
              runner.hookHandlerError = hookHandlerError
              callback()

