diff options
Diffstat (limited to 'spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb b/spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb index bf5cb6fb25d..5120998ded6 100644 --- a/spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb +++ b/spec/views/projects/clusters/clusters/gcp/_form.html.haml_spec.rb @@ -23,16 +23,4 @@ RSpec.describe 'clusters/clusters/gcp/_form' do expect(rendered).to have_selector("input[id='cluster_provider_gcp_attributes_cloud_run']") end end - - context 'with cloud run feature flag disabled' do - before do - stub_feature_flags(create_cloud_run_clusters: false) - end - - it 'does not have a cloud run checkbox' do - render - - expect(rendered).not_to have_selector("input[id='cluster_provider_gcp_attributes_cloud_run']") - end - end end |