Commit 4efbf9b6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'revert-help-link' into 'master'

Revert help link

Revert for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/483

cc @douwe

See merge request !1776
parents ac5af614 5d1ab47b
...@@ -31,3 +31,8 @@ ...@@ -31,3 +31,8 @@
%span %span
Merge Requests Merge Requests
%span.count= current_user.assigned_merge_requests.opened.count %span.count= current_user.assigned_merge_requests.opened.count
= nav_link(controller: :help) do
= link_to help_path, title: 'Help' do
%i.fa.fa-question-circle
%span
Help
...@@ -17,3 +17,8 @@ Feature: Dashboard Active Tab ...@@ -17,3 +17,8 @@ Feature: Dashboard Active Tab
Given I visit dashboard merge requests page Given I visit dashboard merge requests page
Then the active main tab should be Merge Requests Then the active main tab should be Merge Requests
And no other main tabs should be active And no other main tabs should be active
Scenario: On Dashboard Help
Given I visit dashboard help page
Then the active main tab should be Help
And no other main tabs should be active
...@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps ...@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
include SharedPaths include SharedPaths
include SharedActiveTab include SharedActiveTab
step 'the active main tab should be Help' do
ensure_active_main_tab('Help')
end
end end
...@@ -83,6 +83,10 @@ module SharedPaths ...@@ -83,6 +83,10 @@ module SharedPaths
visit search_path visit search_path
end end
step 'I visit dashboard help page' do
visit help_path
end
step 'I visit dashboard groups page' do step 'I visit dashboard groups page' do
visit dashboard_groups_path visit dashboard_groups_path
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment