summaryrefslogtreecommitdiff
path: root/spec/models/clusters/applications/cert_manager_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/clusters/applications/cert_manager_spec.rb')
-rw-r--r--spec/models/clusters/applications/cert_manager_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/models/clusters/applications/cert_manager_spec.rb b/spec/models/clusters/applications/cert_manager_spec.rb
index 7c87c5aaddf..cf5cbf8ec5c 100644
--- a/spec/models/clusters/applications/cert_manager_spec.rb
+++ b/spec/models/clusters/applications/cert_manager_spec.rb
@@ -8,19 +8,6 @@ describe Clusters::Applications::CertManager do
include_examples 'cluster application version specs', :clusters_applications_cert_managers
include_examples 'cluster application initial status specs'
- describe '.available' do
- subject { described_class.available }
-
- let!(:installed_cluster) { create(:clusters_applications_cert_managers, :installed) }
- let!(:updated_cluster) { create(:clusters_applications_cert_managers, :updated) }
-
- before do
- create(:clusters_applications_cert_managers, :errored)
- end
-
- it { is_expected.to contain_exactly(installed_cluster, updated_cluster) }
- end
-
describe '#install_command' do
let(:cluster_issuer_file) { { "cluster_issuer.yaml": "---\napiVersion: certmanager.k8s.io/v1alpha1\nkind: ClusterIssuer\nmetadata:\n name: letsencrypt-prod\nspec:\n acme:\n server: https://acme-v02.api.letsencrypt.org/directory\n email: admin@example.com\n privateKeySecretRef:\n name: letsencrypt-prod\n http01: {}\n" } }
subject { cert_manager.install_command }