Commit 39f63c7b authored by Thong Kuah's avatar Thong Kuah

Add missing spec coverage for instance clusters

parent 68e1d5f6
......@@ -130,5 +130,13 @@ describe DeploymentPlatform do
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
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