]> source.dussan.org Git - sonarqube.git/commitdiff
Fix cycle when displaying test covering a file
authorJulien Lancelot <julien.lancelot@gmail.com>
Wed, 6 Feb 2013 16:52:06 +0000 (17:52 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Wed, 6 Feb 2013 16:52:06 +0000 (17:52 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb

index 75099b9c011e086ab3185f4e82c1f49244ffc0ca..b9997f4140c1702a1c4d59448842d283c4bf7538 100644 (file)
@@ -17,6 +17,7 @@
         </tr>
         </thead>
         <tbody>
+        <% reset_cycle %>
         <% test_cases.sort_by{|test_case| test_case.name}.each do |test_case| %>
         <tr class="<%= cycle("even", "odd") -%>">
           <td class="thin" nowrap>