Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/clusters/agent_spec.rb')
-rw-r--r--spec/models/clusters/agent_spec.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/spec/models/clusters/agent_spec.rb b/spec/models/clusters/agent_spec.rb
index 7c546f42d5d..6201b7b1861 100644
--- a/spec/models/clusters/agent_spec.rb
+++ b/spec/models/clusters/agent_spec.rb
@@ -198,14 +198,6 @@ RSpec.describe Clusters::Agent, feature_category: :deployment_management do
it { is_expected.to eq(allowed) }
end
-
- context 'when expose_authorized_cluster_agents feature flag is disabled' do
- before do
- stub_feature_flags(expose_authorized_cluster_agents: false)
- end
-
- it { is_expected.to eq(false) }
- end
end
context 'with group-level authorization' do
@@ -226,14 +218,6 @@ RSpec.describe Clusters::Agent, feature_category: :deployment_management do
it { is_expected.to eq(allowed) }
end
-
- context 'when expose_authorized_cluster_agents feature flag is disabled' do
- before do
- stub_feature_flags(expose_authorized_cluster_agents: false)
- end
-
- it { is_expected.to eq(false) }
- end
end
end
@@ -269,14 +253,6 @@ RSpec.describe Clusters::Agent, feature_category: :deployment_management do
it { is_expected.to eq(allowed) }
end
-
- context 'when expose_authorized_cluster_agents feature flag is disabled' do
- before do
- stub_feature_flags(expose_authorized_cluster_agents: false)
- end
-
- it { is_expected.to eq(false) }
- end
end
context 'with group-level authorization' do
@@ -297,14 +273,6 @@ RSpec.describe Clusters::Agent, feature_category: :deployment_management do
it { is_expected.to eq(allowed) }
end
-
- context 'when expose_authorized_cluster_agents feature flag is disabled' do
- before do
- stub_feature_flags(expose_authorized_cluster_agents: false)
- end
-
- it { is_expected.to eq(false) }
- end
end
end