diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-19 00:10:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-19 00:10:06 +0300 |
commit | cb0a625459525122d2736a895a728edb3b8ea4ff (patch) | |
tree | a3a830de41cdc0eb71c380f8e751faa1410a724a /spec/policies/integration_policy_spec.rb | |
parent | dd6e32bf47776514b8fe2abcfe7998503f16baab (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies/integration_policy_spec.rb')
-rw-r--r-- | spec/policies/integration_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/integration_policy_spec.rb b/spec/policies/integration_policy_spec.rb index d490045c1e1..ef628c1c4b1 100644 --- a/spec/policies/integration_policy_spec.rb +++ b/spec/policies/integration_policy_spec.rb @@ -9,8 +9,8 @@ RSpec.describe IntegrationPolicy, :models do subject(:policy) { Ability.policy_for(user, integration) } - context 'when the integration is a prometheus_service' do - let(:integration) { create(:prometheus_service) } + context 'when the integration is a prometheus_integration' do + let(:integration) { create(:prometheus_integration) } describe 'rules' do it { is_expected.to be_disallowed :admin_project } |