diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-30 18:10:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-30 18:10:44 +0300 |
commit | 412fe7ab5511ec446f250d415d571108fe838b68 (patch) | |
tree | 7070a49951bfb83ee22e963dc0c9a0a884900f29 /spec/views/layouts | |
parent | 7cf8c080eda823e7e2577eeed1f96e168c37ee8f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/layouts')
-rw-r--r-- | spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb index 4de2c011b93..82584155de5 100644 --- a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb +++ b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'layouts/nav/sidebar/_project' do +RSpec.describe 'layouts/nav/sidebar/_project', feature_category: :navigation do let_it_be_with_reload(:project) { create(:project, :repository) } let(:user) { project.first_owner } @@ -67,19 +67,6 @@ RSpec.describe 'layouts/nav/sidebar/_project' do end end - describe 'Learn GitLab' do - it 'has a link to the learn GitLab' do - allow(view).to receive(:learn_gitlab_enabled?).and_return(true) - allow_next_instance_of(Onboarding::Completion) do |onboarding| - expect(onboarding).to receive(:percentage).and_return(20) - end - - render - - expect(rendered).to have_link('Learn GitLab', href: project_learn_gitlab_path(project)) - end - end - describe 'Repository' do it 'has a link to the project tree path' do render |