The Html formatter does not keep the failed count correctly
Each time example_failed is called it resets the counter to zero. Counter is then used to generate id's which are always id="failure_0". If @counter were set in the constructed and added to each time example_failed was called this would fix the issue.
Care to submit a patch?
Here you go: https://github.com/scrummyin/rspec-core/commit/86bd44f3c9d1118751738893748fa900e91556f9
Also, it was affecting the textmate formatter as well. Let me know if you want something more. Or a different format, because I'm not used to committing patches to other people's code on github. So let me know if there is better etiquette.
corrected the count in the html formater
- Closed by ad79868832a017898c36233bf4f4d65ea409ce33.