Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/dashboard/projects_spec.rb')
-rw-r--r--spec/features/dashboard/projects_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb
index eafc41c0f40..32bce32ec6c 100644
--- a/spec/features/dashboard/projects_spec.rb
+++ b/spec/features/dashboard/projects_spec.rb
@@ -18,7 +18,7 @@ RSpec.describe 'Dashboard Projects', feature_category: :projects do
end
end
- it_behaves_like "a dashboard page with sidebar", :dashboard_projects_path, :projects
+ it_behaves_like 'a "Your work" page with sidebar and breadcrumbs', :dashboard_projects_path, :projects
it 'links to the "Explore projects" page' do
visit dashboard_projects_path
@@ -112,6 +112,8 @@ RSpec.describe 'Dashboard Projects', feature_category: :projects do
end
context 'when on Starred projects tab', :js do
+ it_behaves_like 'a "Your work" page with sidebar and breadcrumbs', :starred_dashboard_projects_path, :projects
+
it 'shows the empty state when there are no starred projects' do
visit(starred_dashboard_projects_path)