spec/dummy/tmp/cache/assets/D6A/950/sprockets%2F429b1806cb7580ebf29f9a12c33cbea6 in teabag-0.4.5 vs spec/dummy/tmp/cache/assets/D6A/950/sprockets%2F429b1806cb7580ebf29f9a12c33cbea6 in teabag-0.4.6

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356739886.464718: @value"…¤{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356852472.3294458: @value"½¥{I" class:EFI"BundledAsset;FI"logical_path;FI"teabag-jasmine.js;FI" pathname;FI"N/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag-jasmine.js;FI"content_type;FI"application/javascript;FI" -mtime;FI"2012-12-28T15:16:25-07:00;FI" length;Fi³¢I" digest;F"%3a04f6d3c3ae30880a7b33b88fe1d42eI" source;FI"³¢var isCommonJS = typeof window == "undefined" && typeof exports == "object"; +mtime;FI"2012-12-29T22:12:57-07:00;FI" length;Fië£I" digest;F"%0b332f4e6175e7da851d2f3d2a61d3feI" source;FI"ë£var isCommonJS = typeof window == "undefined" && typeof exports == "object"; /** * Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework. * * @namespace @@ -2612,10 +2612,12 @@ Teabag.slow = 75; Teabag.root = null; + Teabag.started = false; + Teabag.finished = false; Teabag.Reporters = {}; Teabag.Date = Date; @@ -2629,10 +2631,11 @@ Teabag.execute = function() { if (this.defer) { this.defer = false; return; } + this.started = true; return new Teabag.Runner(); }; Teabag.log = function() { var _ref; @@ -2987,25 +2990,28 @@ this.readConfig(); HTML.__super__.constructor.apply(this, arguments); } HTML.prototype.build = function() { + var _ref; this.buildLayout(); this.el = this.findEl("report-all"); this.setText("env-info", this.envInfo()); this.setText("version", Teabag.version); this.findEl("toggles").onclick = this.toggleConfig; - this.findEl("suite-select").onchange = this.changeSuite; + if ((_ref = this.findEl("suite-select")) != null) { + _ref.onchange = this.changeSuite; + } this.showConfiguration(); return this.buildProgress(); }; HTML.prototype.buildLayout = function() { var el; el = this.createEl("div"); document.body.appendChild(el); - return el.innerHTML = "<div class=\"teabag-clearfix\">\n <div id=\"teabag-title\">\n <h1>Teabag</h1>\n <ul>\n <li>version: <b id=\"teabag-version\"></b></li>\n <li id=\"teabag-env-info\"></li>\n </ul>\n </div>\n <div id=\"teabag-progress\"></div>\n <ul id=\"teabag-stats\">\n <li>passes: <b id=\"teabag-stats-passes\">0</b></li>\n <li>failures: <b id=\"teabag-stats-failures\">0</b></li>\n <li>skipped: <b id=\"teabag-stats-skipped\">0</b></li>\n <li>duration: <b id=\"teabag-stats-duration\">&infin;</b></li>\n </ul>\n</div>\n\n<div id=\"teabag-controls\" class=\"teabag-clearfix\">\n <div id=\"teabag-toggles\">\n <button id=\"teabag-use-catch\" title=\"Toggle using try/catch wrappers when possible\">Try/Catch</button>\n <button id=\"teabag-build-full-report\" title=\"Toggle building the full report\">Full Report</button>\n <button id=\"teabag-display-progress\" title=\"Toggle displaying progress as tests run\">Progress</button>\n </div>\n <div id=\"teabag-filter\">\n " + (this.buildSuiteSelect()) + "\n <button onclick=\"window.location.href = window.location.pathname\">Run All</button>\n <span id=\"teabag-filter-info\">\n </div>\n</div>\n\n<hr/>\n\n<div id=\"teabag-report\">\n <ol id=\"teabag-report-failures\"></ol>\n <ol id=\"teabag-report-all\"></ol>\n</div>"; + return el.innerHTML = "<div id=\"teabag-html-reporter\">\n <div class=\"teabag-clearfix\">\n <div id=\"teabag-title\">\n <h1>Teabag</h1>\n <ul>\n <li>version: <b id=\"teabag-version\"></b></li>\n <li id=\"teabag-env-info\"></li>\n </ul>\n </div>\n <div id=\"teabag-progress\"></div>\n <ul id=\"teabag-stats\">\n <li>passes: <b id=\"teabag-stats-passes\">0</b></li>\n <li>failures: <b id=\"teabag-stats-failures\">0</b></li>\n <li>skipped: <b id=\"teabag-stats-skipped\">0</b></li>\n <li>duration: <b id=\"teabag-stats-duration\">&infin;</b></li>\n </ul>\n </div>\n\n <div id=\"teabag-controls\" class=\"teabag-clearfix\">\n <div id=\"teabag-toggles\">\n <button id=\"teabag-use-catch\" title=\"Toggle using try/catch wrappers when possible\">Try/Catch</button>\n <button id=\"teabag-build-full-report\" title=\"Toggle building the full report\">Full Report</button>\n <button id=\"teabag-display-progress\" title=\"Toggle displaying progress as tests run\">Progress</button>\n </div>\n <div id=\"teabag-filter\">\n " + (this.buildSuiteSelect()) + "\n <button onclick=\"window.location.href = window.location.pathname\">Run All</button>\n <span id=\"teabag-filter-info\">\n </div>\n </div>\n\n <hr/>\n\n <div id=\"teabag-report\">\n <ol id=\"teabag-report-failures\"></ol>\n <ol id=\"teabag-report-all\"></ol>\n </div>\n</div>"; }; HTML.prototype.buildSuiteSelect = function() { var options, suite, _i, _len, _ref; if (Teabag.suites.all.length === 1) { @@ -3330,11 +3336,11 @@ div = this.createEl("div"); html = ""; _ref = this.spec.errors(); for (_i = 0, _len = _ref.length; _i < _len; _i++) { error = _ref[_i]; - html += "" + (this.htmlSafe(error.stack || error.message || "Stack trace unavailable")); + html += "<strong>" + (this.htmlSafe(error.message)) + "</strong><br/>" + (this.htmlSafe(error.stack || "Stack trace unavailable")); } div.innerHTML = html; return this.append(div); }; @@ -3378,11 +3384,11 @@ FailureView.__super__.build.call(this, "spec"); html = "<h1 class=\"teabag-clearfix\"><a href=\"" + this.spec.link + "\">" + this.spec.fullDescription + "</a></h1>"; _ref = this.spec.errors(); for (_i = 0, _len = _ref.length; _i < _len; _i++) { error = _ref[_i]; - html += "<div>" + (this.htmlSafe(error.stack || error.message || "Stack trace unavailable")) + "</div>"; + html += "<div><strong>" + (this.htmlSafe(error.message)) + "</strong><br/>" + (this.htmlSafe(error.stack || "Stack trace unavailable")) + "</div>"; } return this.el.innerHTML = html; }; return FailureView; @@ -3786,6 +3792,6 @@ })(Teabag.fixture); env = jasmine.getEnv(); }).call(this); -;FI"required_assets_digest;F"%5f5aba869335bf9cf0cc20bed3e1ea32I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91 +;FI"required_assets_digest;F"%2bf62f710e574db49d6e6acbffe4aefeI" _version;F"%ffd318ca8b794f42f5029101c2cf5d91 \ No newline at end of file