diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-01 08:59:34 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-01 08:59:34 +0000 |
commit | 41b1c0469dba622a1c2c67c17f1f5e491573accf (patch) | |
tree | 09f095297054f3f5077059ded4cd066bd257e052 /spec/presenters | |
parent | 7248f8bff5a90f3ff570c368310c361e1f4e9092 (diff) | |
download | gitlab-ce-41b1c0469dba622a1c2c67c17f1f5e491573accf.tar.gz |
Add latest changes from gitlab-org/security/gitlab@13-8-stable-ee
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/release_presenter_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/presenters/release_presenter_spec.rb b/spec/presenters/release_presenter_spec.rb index b518584569b..4bf12183eff 100644 --- a/spec/presenters/release_presenter_spec.rb +++ b/spec/presenters/release_presenter_spec.rb @@ -62,6 +62,12 @@ RSpec.describe ReleasePresenter do it 'returns its own url' do is_expected.to eq(project_release_url(project, release)) end + + context 'when user is guest' do + let(:user) { guest } + + it { is_expected.to be_nil } + end end describe '#opened_merge_requests_url' do |