diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-29 15:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-29 15:09:45 +0300 |
commit | 6f9f4f0580bf5a78af4c5da067d4acf43094dc98 (patch) | |
tree | 0a6c43b56e91679e178055ecd3c779c9ecfde5fd /spec/policies/issue_policy_spec.rb | |
parent | b4dc6516ae8662e23e6fd8331656a91f9e853417 (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 b917def66aa..e352b990159 100644 --- a/spec/policies/issue_policy_spec.rb +++ b/spec/policies/issue_policy_spec.rb @@ -188,7 +188,7 @@ RSpec.describe IssuePolicy do context 'when issues are private' do before do - project.project_feature.update(issues_access_level: ProjectFeature::PRIVATE) + project.project_feature.update!(issues_access_level: ProjectFeature::PRIVATE) end let(:issue) { create(:issue, project: project, author: author) } let(:visitor) { create(:user) } |