From f4c10492f43f7d7a3790836d79680621faa38bd2 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Fri, 6 Oct 2017 12:16:08 +0100 Subject: Fix sidebar title Fix fixture --- app/views/layouts/nav/sidebar/_project.html.haml | 4 ++-- spec/javascripts/fixtures/clusters.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml index c750da4822a..759d6ff68ea 100644 --- a/app/views/layouts/nav/sidebar/_project.html.haml +++ b/app/views/layouts/nav/sidebar/_project.html.haml @@ -191,9 +191,9 @@ - if project_nav_tab? :clusters = nav_link(controller: :clusters) do - = link_to project_clusters_path(@project), title: 'Clusters', class: 'shortcuts-clusters' do + = link_to project_clusters_path(@project), title: 'Cluster', class: 'shortcuts-cluster' do %span - Clusters + Cluster - if project_nav_tab? :wiki = nav_link(controller: :wikis) do diff --git a/spec/javascripts/fixtures/clusters.rb b/spec/javascripts/fixtures/clusters.rb index bf8ba8146da..5774f36f026 100644 --- a/spec/javascripts/fixtures/clusters.rb +++ b/spec/javascripts/fixtures/clusters.rb @@ -11,7 +11,7 @@ describe Projects::ClustersController, '(JavaScript fixtures)', type: :controlle render_views before(:all) do - clean_frontend_fixtures('branches/') + clean_frontend_fixtures('clusters/') end before do -- cgit v1.2.3