diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 18:11:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 18:11:05 +0000 |
commit | bbc241ab7fff1f6854a70eb56ee70b0dad2b6144 (patch) | |
tree | 2f3bb5bafed00cdc9a11ea9b5233b7dd6fded70b /spec/features/snippets | |
parent | 714e16b260e01dd316574ab7baf0a73f61547d80 (diff) | |
download | gitlab-ce-bbc241ab7fff1f6854a70eb56ee70b0dad2b6144.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/snippets')
-rw-r--r-- | spec/features/snippets/show_spec.rb | 4 | ||||
-rw-r--r-- | spec/features/snippets/user_creates_snippet_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/snippets/show_spec.rb b/spec/features/snippets/show_spec.rb index d6ff8c066c4..2673ad5e1d7 100644 --- a/spec/features/snippets/show_spec.rb +++ b/spec/features/snippets/show_spec.rb @@ -25,7 +25,7 @@ RSpec.describe 'Snippet', :js, feature_category: :source_code_management do subject { visit snippet_path(snippet) } end - it_behaves_like 'a dashboard page with sidebar', :dashboard_snippets_path, :snippets + it_behaves_like 'a "Your work" page with sidebar and breadcrumbs', :dashboard_snippets_path, :snippets context 'when unauthenticated' do it 'shows the "Explore" sidebar' do @@ -42,6 +42,6 @@ RSpec.describe 'Snippet', :js, feature_category: :source_code_management do sign_in(different_user) end - it_behaves_like 'a dashboard page with sidebar', :dashboard_snippets_path, :snippets + it_behaves_like 'a "Your work" page with sidebar and breadcrumbs', :dashboard_snippets_path, :snippets end end diff --git a/spec/features/snippets/user_creates_snippet_spec.rb b/spec/features/snippets/user_creates_snippet_spec.rb index 6885182845d..945785cf1c3 100644 --- a/spec/features/snippets/user_creates_snippet_spec.rb +++ b/spec/features/snippets/user_creates_snippet_spec.rb @@ -21,7 +21,7 @@ RSpec.describe 'User creates snippet', :js, feature_category: :source_code_manag visit new_snippet_path end - it_behaves_like 'a dashboard page with sidebar', :new_snippet_path, :snippets + it_behaves_like 'a "Your work" page with sidebar and breadcrumbs', :new_snippet_path, :snippets def fill_form snippet_fill_in_form(title: title, content: file_content, description: md_description) |