summaryrefslogtreecommitdiff
path: root/spec/models/concerns/deployment_platform_spec.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-07-17 11:37:34 +1200
committerThong Kuah <tkuah@gitlab.com>2019-07-17 20:01:08 +1200
commit90aafe78aeddf77a82ddf5efce8139cc29c7e52f (patch)
tree2f9fbef6cbab4182573a509f58289641eaace7f2 /spec/models/concerns/deployment_platform_spec.rb
parentf0400dc7c01ab53cdc286d639b50e1ce98a9beaf (diff)
downloadgitlab-ce-90aafe78aeddf77a82ddf5efce8139cc29c7e52f.tar.gz
Removes clusters_cte feature flagremove_clusters_cte_feature_flag
This has been enabled on production without issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64259
Diffstat (limited to 'spec/models/concerns/deployment_platform_spec.rb')
-rw-r--r--spec/models/concerns/deployment_platform_spec.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/spec/models/concerns/deployment_platform_spec.rb b/spec/models/concerns/deployment_platform_spec.rb
index e2fc8a5d127..2378f400540 100644
--- a/spec/models/concerns/deployment_platform_spec.rb
+++ b/spec/models/concerns/deployment_platform_spec.rb
@@ -5,7 +5,7 @@ require 'rails_helper'
describe DeploymentPlatform do
let(:project) { create(:project) }
- shared_examples '#deployment_platform' do
+ describe '#deployment_platform' do
subject { project.deployment_platform }
context 'with no Kubernetes configuration on CI/CD, no Kubernetes Service' do
@@ -84,20 +84,4 @@ describe DeploymentPlatform do
end
end
end
-
- context 'legacy implementation' do
- before do
- stub_feature_flags(clusters_cte: false)
- end
-
- include_examples '#deployment_platform'
- end
-
- context 'CTE implementation' do
- before do
- stub_feature_flags(clusters_cte: true)
- end
-
- include_examples '#deployment_platform'
- end
end