Commit 9839d106 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Rename dashboard landing page to Your projects

parent 0414b2ae
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
= link_to root_path, title: 'Home', class: 'shortcuts-activity' do = link_to root_path, title: 'Home', class: 'shortcuts-activity' do
%i.fa.fa-dashboard %i.fa.fa-dashboard
%span %span
Projects Your Projects
= nav_link(path: 'projects#starred') do = nav_link(path: 'projects#starred') do
= link_to starred_dashboard_projects_path, title: 'Starred Projects' do = link_to starred_dashboard_projects_path, title: 'Starred Projects' do
%i.fa.fa-star %i.fa.fa-star
......
...@@ -26,7 +26,7 @@ module SharedActiveTab ...@@ -26,7 +26,7 @@ module SharedActiveTab
end end
step 'the active main tab should be Home' do step 'the active main tab should be Home' do
ensure_active_main_tab('Activity') ensure_active_main_tab('Your Projects')
end end
step 'the active main tab should be Projects' do step 'the active main tab should be Projects' do
......
...@@ -25,8 +25,8 @@ describe "Dashboard access", feature: true do ...@@ -25,8 +25,8 @@ describe "Dashboard access", feature: true do
it { is_expected.to be_denied_for :visitor } it { is_expected.to be_denied_for :visitor }
end end
describe "GET /dashboard/projects" do describe "GET /dashboard/projects/starred" do
subject { projects_dashboard_path } subject { starred_dashboard_projects_path }
it { is_expected.to be_allowed_for :admin } it { is_expected.to be_allowed_for :admin }
it { is_expected.to be_allowed_for :user } it { is_expected.to be_allowed_for :user }
......
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