o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1363462907.4875178: @value" {I" class:EFI"BundledAsset;FI"logical_path;FI"teabag/jasmine/models.js;FI" pathname;FI"Y/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/jasmine/models.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-03-16T13:39:22-06:00;FI" length;Fi%I" digest;F"%10c791d96bfe66662b7715adf2a34bdeI" source;FI"%(function() { Teabag.Spec = (function() { function Spec(spec) { this.spec = spec; this.fullDescription = this.spec.getFullName(); this.description = this.spec.description; this.link = "?grep=" + (encodeURIComponent(this.fullDescription)); this.parent = this.spec.suite; this.suiteName = this.parent.getFullName(); this.viewId = this.spec.viewId; this.pending = this.spec.pending; } Spec.prototype.errors = function() { var item, _i, _len, _ref, _results; if (!this.spec.results) { return []; } _ref = this.spec.results().getItems(); _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { item = _ref[_i]; if (item.passed()) { continue; } _results.push({ message: item.message, stack: item.trace.stack }); } return _results; }; Spec.prototype.getParents = function() { var parent; if (this.parents) { return this.parents; } this.parents || (this.parents = []); parent = this.parent; while (parent) { parent = new Teabag.Suite(parent); this.parents.unshift(parent); parent = parent.parent; } return this.parents; }; Spec.prototype.result = function() { var results, status; results = this.spec.results(); status = "failed"; if (results.passed()) { status = "passed"; } if (this.spec.pending) { status = "pending"; } return { status: status, skipped: results.skipped }; }; return Spec; })(); Teabag.Suite = (function() { function Suite(suite) { this.suite = suite; this.fullDescription = this.suite.getFullName(); this.description = this.suite.description; this.link = "?grep=" + (encodeURIComponent(this.fullDescription)); this.parent = this.suite.parentSuite; this.viewId = this.suite.viewId; } return Suite; })(); }).call(this); ;FI"required_assets_digest;F"%a27192643cf5fe59afc8c24d38056e88I" _version;F"%6776f581a4329e299531e1d52aa59832