]> source.dussan.org Git - sonarqube.git/commitdiff
Fix dashboard name
authorDavid Gageot <david@gageot.net>
Fri, 25 May 2012 11:08:16 +0000 (13:08 +0200)
committerDavid Gageot <david@gageot.net>
Fri, 25 May 2012 11:08:16 +0000 (13:08 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboard.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboardTest.java
sonar-server/src/main/webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb

index 8e0e6582ba4db2750ede76db282656c236218026..0e05c7ec82e9cfbc6b73c23699dc9fb494e57ed7 100644 (file)
@@ -30,7 +30,7 @@ import org.sonar.plugins.core.filters.MyFavouritesFilter;
 public final class MyFavouritesDashboard extends AbstractFilterDashboard {
   @Override
   public String getName() {
-    return "My Favourites";
+    return "My favourites";
   }
 
   @Override
index d3cd570b876835454018f80b35a2121e5605f767..9955cbe9be9e1cb56a58d43a7b2b4d2bb8db1789 100644 (file)
@@ -34,7 +34,7 @@ public class MyFavouritesDashboardTest {
 
   @Test
   public void should_have_a_name() {
-    assertThat(template.getName()).isEqualTo("My Favourites");
+    assertThat(template.getName()).isEqualTo("My favourites");
   }
 
   @Test
index 88bd4213c6d92e37013951ff9aa6955005ec44cb..e9d5c586159237f4220cb89d10d4cba19ea0b736 100644 (file)
@@ -31,7 +31,7 @@ class IgnoreLoadedDashboards < ActiveRecord::Migration
   def self.up
     mark_dashboard_as_loaded('Projects')
     mark_dashboard_as_loaded('Treemap')
-    mark_dashboard_as_loaded('My Favourites')
+    mark_dashboard_as_loaded('My favourites')
   end
 
   def self.mark_dashboard_as_loaded(name)