Sha256: 3ed4482373b2ca9ddfdfbfcefb2731fc62f0eb79d4d475cbbd0e70d037c4db82

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1356645780.079063:@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-27T15:02:58-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

5 entries across 5 versions & 1 rubygems

Version Path
teabag-0.5.0 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.6 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.5 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.4 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e
teabag-0.4.3 spec/dummy/tmp/cache/assets/D78/870/sprockets%2F8f3a7d4fcd104fa8e47f552f6630a49e