diff options
author | João Cunha <j.a.cunha@gmail.com> | 2019-03-05 15:21:29 +0000 |
---|---|---|
committer | João Cunha <j.a.cunha@gmail.com> | 2019-03-05 15:21:29 +0000 |
commit | 3bdff7aadfc68222086518a365496fb22357cb9c (patch) | |
tree | 9a87afeba6f47e279059c6c37dfa758c7768cd4d /spec/controllers/groups | |
parent | 5e6e1dd54ae80f6725d75da01eb024d40aa47167 (diff) | |
download | gitlab-ce-3bdff7aadfc68222086518a365496fb22357cb9c.tar.gz |
Rename ClusterUpdateAppWorker to ClusterPatchAppWorker
- This is to avoid colision with EE ClusterUpdateAppWorker
Diffstat (limited to 'spec/controllers/groups')
-rw-r--r-- | spec/controllers/groups/clusters/applications_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/groups/clusters/applications_controller_spec.rb b/spec/controllers/groups/clusters/applications_controller_spec.rb index 84da43fe2ef..16a63536ea6 100644 --- a/spec/controllers/groups/clusters/applications_controller_spec.rb +++ b/spec/controllers/groups/clusters/applications_controller_spec.rb @@ -105,7 +105,7 @@ describe Groups::Clusters::ApplicationsController do context "when cluster and app exists" do it "schedules an application update" do - expect(ClusterUpdateAppWorker).to receive(:perform_async).with(application.name, anything).once + expect(ClusterPatchAppWorker).to receive(:perform_async).with(application.name, anything).once is_expected.to have_http_status(:no_content) @@ -138,7 +138,7 @@ describe Groups::Clusters::ApplicationsController do describe 'security' do before do - allow(ClusterUpdateAppWorker).to receive(:perform_async) + allow(ClusterPatchAppWorker).to receive(:perform_async) end it_behaves_like 'a secure endpoint' |