Sha256: bd122385ca5928a0947ca077aa304685d6a57702f1455dd61f7d6db164aa94be

Contents?: true

Size: 709 Bytes

Versions: 4

Compression:

Stored size: 709 Bytes

Contents

class Teabag.Reporters.HTML extends Teabag.Reporters.HTML

  constructor: ->
    super
    angular.scenario.output("teabag", @bindScenarioOutput)


  bindScenarioOutput: (context, runner, model) =>
#    model.on "specBegin", (spec) => @reportSpecStarting(spec)
    model.on "specEnd", (spec) => @reportSpecResults(spec)
    model.on "runnerEnd", => @reportRunnerResults()
    model.on "runnerBegin", =>
      @reportRunnerStarting(total: angular.scenario.Describe.specId)
      header = document.getElementById("header")
      header.parentNode.removeChild(header) if header
      specs = document.getElementById("specs")
      specs.style.paddingTop = 0 if specs


  envInfo: ->
    "angular-scenario 1.0.5"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
teabag-0.7.3 app/assets/javascripts/teabag/angular/reporters/html.coffee
teabag-0.7.2 app/assets/javascripts/teabag/angular/reporters/html.coffee
teabag-0.7.1 app/assets/javascripts/teabag/angular/reporters/html.coffee
teabag-0.7.0 app/assets/javascripts/teabag/angular/reporters/html.coffee