diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-06 21:41:49 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-06 21:41:49 +0300 |
commit | d13be3c2d98071234790e2fe11d180e8b7b13b6e (patch) | |
tree | 049eaa27cc671183a90350a189da2d80a37bc0df /spec/features/projects/clusters | |
parent | a180306da8daff608f7910af0f759a7dba8f15be (diff) |
Store OAuth token in Redis for worker to pick up
Diffstat (limited to 'spec/features/projects/clusters')
-rw-r--r-- | spec/features/projects/clusters/gcp_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/clusters/gcp_spec.rb b/spec/features/projects/clusters/gcp_spec.rb index 940b054cfe9..523cc08496b 100644 --- a/spec/features/projects/clusters/gcp_spec.rb +++ b/spec/features/projects/clusters/gcp_spec.rb @@ -22,7 +22,7 @@ feature 'Gcp Cluster', :js do context 'when user has a GCP project with billing enabled' do before do - allow(CheckGcpProjectBillingWorker).to receive(:perform_async) + allow_any_instance_of(Projects::Clusters::GcpController).to receive(:authorize_google_project_billing) stub_google_project_billing_status end |