Sha256: 09498d4275c9b344bd4cb3c71aebe3b764ac1d95462adf0de2cb5921649798e2

Contents?: true

Size: 457 Bytes

Versions: 9

Compression:

Stored size: 457 Bytes

Contents

module "QUnit Teabag.Runner",
  setup: ->
    QUnit.start = sinon.spy()
    Teabag.Runner.prototype.reportRunnerStarting = sinon.spy()

test "constructor", 1, ->
  new Teabag.Runner()
  ok(QUnit.start.called, "QUnit.start was called")

test "#setup", ->
  runner = new Teabag.Runner()
  runner.params = {grep: "foo"}
  reporter = ->
  runner.getReporter = sinon.spy(-> reporter)

  runner.setup()

  ok(runner.getReporter.called, "#getReporter was called")

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
teabag-0.7.3 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.7.2 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.7.1 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.7.0 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.6.0 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.5.5 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.5.4 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.5.3 test/javascripts/teabag/qunit/runner_test.coffee
teabag-0.5.2 test/javascripts/teabag/qunit/runner_test.coffee