diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-26 21:12:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-26 21:12:09 +0300 |
commit | 4612d16c2d2dad7ef582bdd6878f02b98e6a84b7 (patch) | |
tree | 70bdc05b7d7ebac6a2b92327dc7a5e41fd2f69b1 /spec/policies/issue_policy_spec.rb | |
parent | 485728af8d6692d2df36f340b896dea79939ae0c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies/issue_policy_spec.rb')
-rw-r--r-- | spec/policies/issue_policy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/issue_policy_spec.rb b/spec/policies/issue_policy_spec.rb index 7ca4baddb79..4d492deb54c 100644 --- a/spec/policies/issue_policy_spec.rb +++ b/spec/policies/issue_policy_spec.rb @@ -398,7 +398,7 @@ RSpec.describe IssuePolicy do context 'with a hidden issue' do let(:user) { create(:user) } let(:banned_user) { create(:user, :banned) } - let(:admin) { create(:user, :admin)} + let(:admin) { create(:user, :admin) } let(:hidden_issue) { create(:issue, project: project, author: banned_user) } it 'does not allow non-admin user to read the issue' do |