Sha256: 0abab5b7fc28772cb41b7a8bfaf2dd1ff8192fb000ee680679dec16d20670eda

Contents?: true

Size: 1.85 KB

Versions: 6

Compression:

Stored size: 1.85 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355382894.24986:@value"ü{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"!teabag/mocha/runner_mspec.js;FI"
pathname;FI"W/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/runner_mspec.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-13T00:08:39-07:00;FI"length;FiÑI"digest;F"%bf70ae3ba5712d6770c4eaadc8d5d9f4I"source;FI"Ñ(function() {

  describe("Mocha Teabag.Runner", function() {
    beforeEach(function() {
      this.runSpy = mocha.run = sinon.spy();
      return this.runner = new Teabag.Runner();
    });
    describe("constructor", function() {
      return it("calls run on the mocha env", function() {
        this.runner.setup = sinon.stub();
        return assert.calledOnce(this.runSpy);
      });
    });
    return describe("#setup", function() {
      return it("adds the reporter to the env", function() {
        var spy;
        spy = mocha.setup = sinon.spy();
        this.runner.params = {
          grep: "foo"
        };
        this.runner.setup();
        if (navigator.userAgent.match(/PhantomJS/)) {
          return assert.calledOnce(spy, {
            reporter: Teabag.Reporters.Console
          });
        } else {
          return assert.calledOnce(spy, {
            reporter: Teabag.Reporters.HTML
          });
        }
      });
    });
  });

}).call(this);
;TI"dependency_digest;F"%9600a9a89f89623dd2929e8d809061f6I"required_paths;F[I"W/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/runner_mspec.coffee;FI"dependency_paths;F[{I"	path;FI"W/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/runner_mspec.coffee;FI"
mtime;FI"2012-12-13T00:08:39-07:00;FI"digest;F"%883696c2709f31ab3a9665ccdd772d2fI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teabag-0.3.5 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9
teabag-0.3.4 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9
teabag-0.3.3 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9
teabag-0.3.2 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9
teabag-0.3.1 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9
teabag-0.3.0 spec/dummy/tmp/cache/assets/DC3/AC0/sprockets%2Fe29911eb34fdf4b710dd0d2c2cf24bc9