diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-21 21:25:28 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-21 21:25:28 +0300 |
commit | e395a2c1901aa08c5d1f26f94406552db44140fa (patch) | |
tree | 946ff7c3f46b073259540016d5b47c905824dedb /spec/support/google_api | |
parent | 59c7f46e2aa33d633fdc3f78c8a4faa792e40972 (diff) |
Implement GCP billing check in cluster form
Diffstat (limited to 'spec/support/google_api')
-rw-r--r-- | spec/support/google_api/cloud_platform_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/google_api/cloud_platform_helpers.rb b/spec/support/google_api/cloud_platform_helpers.rb index 887ea5c99b1..99752ed396e 100644 --- a/spec/support/google_api/cloud_platform_helpers.rb +++ b/spec/support/google_api/cloud_platform_helpers.rb @@ -13,7 +13,7 @@ module GoogleApi def stub_google_project_billing_status redis_double = double allow(Gitlab::Redis::SharedState).to receive(:with).and_yield(redis_double) - allow(redis_double).to receive(:get).with(CheckGcpProjectBillingWorker.redis_shared_state_key_for).and_return('true') + allow(redis_double).to receive(:get).with(CheckGcpProjectBillingWorker.redis_shared_state_key_for('token')).and_return('true') end def stub_cloud_platform_get_zone_cluster(project_id, zone, cluster_id, **options) |