Sha256: 56d4040a3efc20524cf941e139e432ad75e177798431659f419c9cdd042c6760

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1356454536.428836:@value"{I"
class:EFI"BundledAsset;FI"logical_path;FI" teabag/qunit/runner_test.js;FI"
pathname;FI"V/Users/jejacks0n/Projects/teabag/test/javascripts/teabag/qunit/runner_test.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-24T23:13:50-07:00;FI"length;Fi7I"digest;F"%32210b7a7e454827e460aa005f031e49I"source;FI"7(function() {

  module("QUnit Teabag.Runner", {
    setup: function() {
      QUnit.start = sinon.spy();
      return Teabag.Runner.prototype.reportRunnerStarting = sinon.spy();
    }
  });

  test("constructor", 1, function() {
    new Teabag.Runner();
    return ok(QUnit.start.called, "QUnit.start was called");
  });

  test("#setup", function() {
    var reporter, runner;
    runner = new Teabag.Runner();
    runner.params = {
      grep: "foo"
    };
    reporter = function() {};
    reporter.prototype.setFilter = sinon.spy();
    runner.getReporter = sinon.spy(function() {
      return reporter;
    });
    runner.setup();
    ok(runner.getReporter.called, "#getReporter was called");
    return ok(reporter.prototype.setFilter.args[0][0] === "foo", "#setFilter was called with 'foo'");
  });

}).call(this);
;FI"required_assets_digest;F"%914848ccdedc73ccfd639a10978e0f8dI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
teabag-0.4.2 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.1 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.0 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.3.6 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e