o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355461095.955484: @value"z {I" class:EFI"BundledAsset;FI"logical_path;FI")teabag/mocha/reporters/html_mspec.js;FI" pathname;FI"_/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/html_mspec.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-13T21:57:57-07:00;FI" length;Fi†I" digest;F"%9e07240ea64706ee4894215b61085874I" source;FI"†(function() { describe("Mocha Teabag.Reporters.HTML", function() { beforeEach(function() { this.runner = { on: this.onSpy = sinon.spy() }; this.superSpy = Teabag.Reporters.HTML.__super__.constructor = sinon.spy(); Teabag.Reporters.HTML.filter = "foo"; this.setFilterSpy = Teabag.Reporters.HTML.prototype.setFilter = sinon.spy(); this.reportRunnerStartingSpy = Teabag.Reporters.HTML.prototype.reportRunnerStarting = sinon.spy(); return this.reporter = new Teabag.Reporters.HTML(this.runner); }); describe("constructor", function() { it("calls setFilter", function() { return assert.calledWith(this.setFilterSpy, "foo"); }); it("calls reporterRunnerStarting", function() { return assert.calledOnce(this.reportRunnerStartingSpy, "foo"); }); return it("registers for 'fail', 'test end', and 'end'", function() { assert.calledWith(this.onSpy, "fail", this.reporter.reportSpecResults); assert.calledWith(this.onSpy, "test end", this.reporter.reportSpecResults); return assert.calledWith(this.onSpy, "end", this.reporter.reportRunnerResults); }); }); describe("#reportSpecResults", function() { return it("sets the error if one is passed in", function() { var spec; spec = {}; this.reporter.reportSpecResults(spec, { foo: "bar" }); return expect(spec.err).to.eql({ foo: "bar" }); }); }); return describe("#envInfo", function() { return it("returns the version", function() { return expect(this.reporter.envInfo()).to.eql("mocha 1.7.3"); }); }); }); describe("Mocha Teabag.Reporters.HTML.SpecView", function() { return describe("#updateState", function() { return it("calls super with the duration of the spec", function() {}); }); }); }).call(this); ;FI"required_assets_digest;F"%7c7490398d538c2f442316c870002a53I" _version;F"%6776f581a4329e299531e1d52aa59832