diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-08-01 00:40:00 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-08-01 00:40:00 +0300 |
commit | 7f198de92914664363a18a5da079cd289580f8ba (patch) | |
tree | d8bd0719a68f8c7aede12935f1e26c25089ec634 /spec/controllers | |
parent | 5a741e8d452090a21d53868c307ecdf6f129b999 (diff) | |
parent | 9aa31c8aef56a104fe5007a8994b3936059d3516 (diff) |
Merge branch '65297-fix-typo-on-clusters_applications_cert_managers-factory' into 'master'
Resolve "Fix typo on clusters_applications_cert_managers factory"
Closes #65297
See merge request gitlab-org/gitlab-ce!31278
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/admin/clusters/applications_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/controllers/groups/clusters/applications_controller_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/admin/clusters/applications_controller_spec.rb b/spec/controllers/admin/clusters/applications_controller_spec.rb index cf202d88acc..9d6edcd80c0 100644 --- a/spec/controllers/admin/clusters/applications_controller_spec.rb +++ b/spec/controllers/admin/clusters/applications_controller_spec.rb @@ -84,7 +84,7 @@ describe Admin::Clusters::ApplicationsController do patch :update, params: params end - let!(:application) { create(:clusters_applications_cert_managers, :installed, cluster: cluster) } + let!(:application) { create(:clusters_applications_cert_manager, :installed, cluster: cluster) } let(:application_name) { application.name } let(:params) { { application: application_name, id: cluster.id, email: "new-email@example.com" } } diff --git a/spec/controllers/groups/clusters/applications_controller_spec.rb b/spec/controllers/groups/clusters/applications_controller_spec.rb index 16a63536ea6..21533d1c89a 100644 --- a/spec/controllers/groups/clusters/applications_controller_spec.rb +++ b/spec/controllers/groups/clusters/applications_controller_spec.rb @@ -91,7 +91,7 @@ describe Groups::Clusters::ApplicationsController do patch :update, params: params.merge(group_id: group) end - let!(:application) { create(:clusters_applications_cert_managers, :installed, cluster: cluster) } + let!(:application) { create(:clusters_applications_cert_manager, :installed, cluster: cluster) } let(:application_name) { application.name } let(:params) { { application: application_name, id: cluster.id, email: "new-email@example.com" } } |