diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-13 06:08:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-13 06:08:09 +0300 |
commit | e44c47168ab82d5ec1d945da7c33c2da5996e267 (patch) | |
tree | c55a881ad5ffe70b69400aa0620d0559319b3a35 /spec/policies | |
parent | df4e4c33e0266171016df38c0a41e8c049ee114f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/project_hook_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/project_hook_policy_spec.rb b/spec/policies/project_hook_policy_spec.rb index 60b296e131a..a71940c319e 100644 --- a/spec/policies/project_hook_policy_spec.rb +++ b/spec/policies/project_hook_policy_spec.rb @@ -15,7 +15,7 @@ RSpec.describe ProjectHookPolicy, feature_category: :integrations do end it "cannot read and destroy web-hooks" do - expect(policy).to be_disallowed(:read_web_hook, :destroy_web_hook) + expect(policy).to be_disallowed(:destroy_web_hook) end end @@ -25,7 +25,7 @@ RSpec.describe ProjectHookPolicy, feature_category: :integrations do end it "can read and destroy web-hooks" do - expect(policy).to be_allowed(:read_web_hook, :destroy_web_hook) + expect(policy).to be_allowed(:destroy_web_hook) end end end |