o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357967335.28977:@value"�{I" class:EFI"BundledAsset;�FI"logical_path;�FI")teabag/mocha/reporters/html_mspec.js;�TI" pathname;�FI"_/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/html_mspec.coffee;�FI"content_type;�FI"application/javascript;�FI" mtime;�FI"2013-01-11T22:08:54-07:00;�FI"length;�Fi�I"digest;�F"%bec4e67c6980a3d3157d7a9efa63ca22I"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.reportRunnerStartingSpy = Teabag.Reporters.HTML.prototype.reportRunnerStarting = sinon.spy(); return this.reporter = new Teabag.Reporters.HTML(this.runner); }); describe("constructor", function() { 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.be("mocha 1.7.4"); }); }); }); 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"%d7f75b4ea15f15ddece69417b7503872I" _version;�F"%6776f581a4329e299531e1d52aa59832