Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-13 06:08:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-13 06:08:09 +0300
commite44c47168ab82d5ec1d945da7c33c2da5996e267 (patch)
treec55a881ad5ffe70b69400aa0620d0559319b3a35 /spec/policies
parentdf4e4c33e0266171016df38c0a41e8c049ee114f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/project_hook_policy_spec.rb4
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