Rename dashboard landing page to Your projects
This commit is contained in:
parent
0414b2ae98
commit
9839d106c4
3 changed files with 4 additions and 4 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue