summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/workers/check_gcp_project_billing_worker_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/check_gcp_project_billing_worker_spec.rb b/spec/workers/check_gcp_project_billing_worker_spec.rb
index 5878f5cefa2..5f473d05e60 100644
--- a/spec/workers/check_gcp_project_billing_worker_spec.rb
+++ b/spec/workers/check_gcp_project_billing_worker_spec.rb
@@ -70,6 +70,7 @@ describe CheckGcpProjectBillingWorker do
before do
allow(described_class).to receive(:get_session_token).and_return('bogustoken')
allow_any_instance_of(described_class).to receive(:try_obtain_lease_for).and_return('randomuuid')
+
Gitlab::Redis::SharedState.with do |redis|
allow(redis).to receive(:set)
end