lib/relevance/tarantula/html_reporter.rb in tarantula-0.0.5 vs lib/relevance/tarantula/html_reporter.rb in tarantula-0.0.8.1

- old
+ new

@@ -58,11 +58,11 @@ def update_index(test_name) File.open(File.join(basedir, "index.html"), "r+") do |file| doc = Hpricot file.read tabs_container = doc.search "#tabs-container ul" - results_container = doc.search "#tabs-container" + results_container = doc.search "#results-container" tabs_container.append tab_html(test_name) results_container.append results_html(test_name) file.rewind file.write doc.to_s end @@ -100,6 +100,6 @@ def class_for_code(code) "r#{Integer(code)/100}" end -end \ No newline at end of file +end