Hi,
Post-story HTML creation if a step within a scenario fails
(class=“failed”) that scenario still passes ( class=“passed”).
We have added some javascript to rspec.js
var rspec = {
load : function() {
$$(".passed").each (
function (passedElement) {
if (passedElement.select(".failed").length > 0) {
Element.removeClassName(passedElement,“passed”);
Element.addClassName(passedElement,“failed”);
}
}
)
}
}
Event.observe(window,“load”,rspec.load);
Aidy