summaryrefslogtreecommitdiff
path: root/spec/helpers/clusters_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/clusters_helper_spec.rb')
-rw-r--r--spec/helpers/clusters_helper_spec.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/helpers/clusters_helper_spec.rb b/spec/helpers/clusters_helper_spec.rb
index ff8394b9475..5651b899ed0 100644
--- a/spec/helpers/clusters_helper_spec.rb
+++ b/spec/helpers/clusters_helper_spec.rb
@@ -58,32 +58,4 @@ describe ClustersHelper do
it { is_expected.to eq('Create new cluster') }
end
end
-
- describe '#render_new_provider_form' do
- subject { helper.new_cluster_partial(provider: provider) }
-
- context 'GCP provider' do
- let(:provider) { 'gcp' }
-
- it { is_expected.to eq('clusters/clusters/gcp/new') }
- end
-
- context 'AWS provider' do
- let(:provider) { 'aws' }
-
- it { is_expected.to eq('clusters/clusters/aws/new') }
- end
-
- context 'other provider' do
- let(:provider) { 'other' }
-
- it { is_expected.to eq('clusters/clusters/cloud_providers/cloud_provider_selector') }
- end
-
- context 'no provider' do
- let(:provider) { nil }
-
- it { is_expected.to eq('clusters/clusters/cloud_providers/cloud_provider_selector') }
- end
- end
end