Commit 03480d3f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'deployment_platform_instance_clusters' into 'master'

Add missing spec coverage for instance clusters

See merge request gitlab-org/gitlab!18930
parents 1d45c462 39f63c7b
...@@ -130,5 +130,13 @@ describe DeploymentPlatform do ...@@ -130,5 +130,13 @@ describe DeploymentPlatform do
end end
end end
end end
context 'when instance has configured kubernetes cluster' do
let!(:instance_cluster) { create(:cluster, :provided_by_user, :instance) }
it 'returns the Kubernetes platform' do
is_expected.to eq(instance_cluster.platform_kubernetes)
end
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment