{I" class:EFI"BundledAsset;FI"logical_path;FI".teaspoon/mocha/reporters/console_mspec.js;TI" pathname;FI"f/Users/jejacks0n/Projects/teaspoon/spec/javascripts/teaspoon/mocha/reporters/console_mspec.coffee;FI"content_type;FI"application/javascript;FI" mtime;Fl+Qú½QI" length;Fi×I" digest;F"%7232b3bc4aedfa81dd047d22ddf4aa37I" source;FI"×(function() { describe("Mocha Teaspoon.Reporters.Console", function() { beforeEach(function() { this.runner = { on: this.onSpy = sinon.spy() }; this.reportRunnerStartingSpy = Teaspoon.Reporters.Console.prototype.reportRunnerStarting = sinon.spy(); return this.reporter = new Teaspoon.Reporters.Console(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); }); }); return 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" }); }); }); }); }).call(this); ;TI"required_assets_digest;F"%f919d52e6d5303495e7327b1a8bf871fI" _version;F"%7097359102b3db973d6242ce2db779ef