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

Rename dashboard landing page to Your projects

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