Backport CE changes from gitlab-ee#518a29073a9
This commit is contained in:
parent
d4ff5ee8a9
commit
fd1c1f9920
|
@ -245,7 +245,7 @@ describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching
|
|||
stub_kubeclient_deployments
|
||||
end
|
||||
|
||||
it { is_expected.to eq(pods: [kube_pod]) }
|
||||
it { is_expected.to include(pods: [kube_pod]) }
|
||||
end
|
||||
|
||||
context 'when kubernetes responds with 500s' do
|
||||
|
@ -263,7 +263,7 @@ describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching
|
|||
stub_kubeclient_deployments(status: 404)
|
||||
end
|
||||
|
||||
it { is_expected.to eq(pods: []) }
|
||||
it { is_expected.to include(pods: []) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue