o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355092306.5310888: @value"½{I" class:EFI"BundledAsset;FI"logical_path;FI"&teabag/reporters/mocha/console.js;FI" pathname;FI"b/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/reporters/mocha/console.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-09T15:31:34-07:00;FI" length;FiÉI" digest;F"%0af7e2ac5ec17222cb6d8fcea38c5b41I" source;FI"É(function() { var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Teabag.Reporters.Console = (function(_super) { __extends(Console, _super); function Console(runner) { this.reportSpecResults = __bind(this.reportSpecResults, this); Console.__super__.constructor.apply(this, arguments); runner.on("fail", this.reportSpecResults); runner.on("test end", this.reportSpecResults); runner.on("end", this.reportRunnerResults); } Console.prototype.reportSpecResults = function(spec, err) { var status; switch (spec.state) { case "passed": status = "pass"; break; case "pending": status = "skipped"; break; default: if (!err) { return; } spec.err = err; this.trackFailure(spec); status = "fail"; } this.total += 1; return this.log({ type: "spec", status: status, description: spec.title }); }; Console.prototype.trackFailure = function(spec) { return this.fails.push({ spec: spec.fullTitle(), description: spec.err.message, link: this.paramsFor(spec.fullTitle()), trace: spec.err.stack || spec.err.toString() }); }; return Console; })(Teabag.Reporters.Console); }).call(this); ;FI"required_assets_digest;F"%ac94f8ac973e508224d747d235752985I" _version;F"%6776f581a4329e299531e1d52aa59832