aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-06 17:52:06 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-06 17:52:06 +0100
commit2a741a4965540bffc965210de6eda49b449d92d2 (patch)
tree4d46f6d0883fad1ab06cdc54ebf73a129996fd62 /sonar-server
parent6d6f3641bceef80b624461edd737ffcaf1285d97 (diff)
downloadsonarqube-2a741a4965540bffc965210de6eda49b449d92d2.tar.gz
sonarqube-2a741a4965540bffc965210de6eda49b449d92d2.zip
Fix cycle when displaying test covering a file
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb
index 75099b9c011..b9997f4140c 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testable_working_view.erb
@@ -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>