app/assets/javascripts/teabag-jasmine.js in teabag-0.5.2 vs app/assets/javascripts/teabag-jasmine.js in teabag-0.5.3
- old
+ new
@@ -3020,11 +3020,11 @@
}
options = [];
_ref = Teabag.suites.all;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
suite = _ref[_i];
- options.push("<option" + (Teabag.suites.active === suite ? " selected='selected'" : "") + " value=\"" + suite + "\">" + suite + " suite</option>");
+ options.push("<option" + (Teabag.suites.active === suite ? " selected='selected'" : "") + " value=\"" + suite + "\">" + suite + "</option>");
}
return "<select id=\"teabag-suite-select\">" + (options.join("")) + "</select>";
};
HTML.prototype.buildProgress = function() {
@@ -3034,10 +3034,10 @@
HTML.prototype.buildFilters = function() {
if (this.filters.length) {
this.setClass("filter", "teabag-filtered");
}
- return this.setHtml("filter-list", "<li>" + (this.filters.join("</li><li>")) + "</li>", true);
+ return this.setHtml("filter-list", "<li>" + (this.filters.join("</li><li>")), true);
};
HTML.prototype.reportRunnerStarting = function(runner) {
this.total.exist = runner.total || runner.specs().length;
if (this.total.exist) {