spec/lib/jspec.js
function(spec) {
      this.currentSpec = spec
      try { this.evalBody(spec.body) }
      catch (e) { fail(e) }
      spec.runDeferredAssertions()
      destub()
      this.stats.specsFinished++
      this.stats.assertions += spec.assertions.length
    }
function(spec) {
      this.currentSpec = spec
      try { this.evalBody(spec.body) }
      catch (e) { fail(e) }
      spec.runDeferredAssertions()
      destub()
      this.stats.specsFinished++
      this.stats.assertions += spec.assertions.length
    }
function ( spec ) { this . currentSpec = spec try { this . evalBody ( spec . body ) } catch ( e ) { fail ( e ) } spec . runDeferredAssertions ( ) destub ( ) this . stats . specsFinished ++ this . stats . assertions += spec . assertions . length }
Run a spec.

@param  {Spec} spec
@api public
Run a spec .