summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-06 19:41:49 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-01-06 19:41:49 +0100
commitd13be3c2d98071234790e2fe11d180e8b7b13b6e (patch)
tree049eaa27cc671183a90350a189da2d80a37bc0df /spec/features
parenta180306da8daff608f7910af0f759a7dba8f15be (diff)
downloadgitlab-ce-d13be3c2d98071234790e2fe11d180e8b7b13b6e.tar.gz
Store OAuth token in Redis for worker to pick up
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/clusters/gcp_spec.rb2
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