summaryrefslogtreecommitdiff
path: root/spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb')
-rw-r--r--spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb b/spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb
index ddf23909035..c9e1bf4162c 100644
--- a/spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb
+++ b/spec/graphql/mutations/alert_management/prometheus_integration/reset_token_spec.rb
@@ -6,6 +6,7 @@ RSpec.describe Mutations::AlertManagement::PrometheusIntegration::ResetToken do
let_it_be(:current_user) { create(:user) }
let_it_be(:project) { create(:project) }
let_it_be(:integration) { create(:prometheus_service, project: project) }
+
let(:args) { { id: GitlabSchema.id_from_object(integration) } }
specify { expect(described_class).to require_graphql_authorizations(:admin_project) }