diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-05-10 11:04:25 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-05-10 11:04:25 +0200 |
commit | fd1c1f9920ed10ff87de57a47dd327ef17499ed4 (patch) | |
tree | 08d5e2db5b4b9a563e41da7e57f7928b97c88e24 | |
parent | d4ff5ee8a99c0d13fb1849c18678886fd69fa278 (diff) | |
download | gitlab-ce-fd1c1f9920ed10ff87de57a47dd327ef17499ed4.tar.gz |
Backport CE changes from gitlab-ee#518a29073a9
-rw-r--r-- | spec/models/clusters/platforms/kubernetes_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/clusters/platforms/kubernetes_spec.rb b/spec/models/clusters/platforms/kubernetes_spec.rb index 866f24e6010..ab7f89f9bf4 100644 --- a/spec/models/clusters/platforms/kubernetes_spec.rb +++ b/spec/models/clusters/platforms/kubernetes_spec.rb @@ -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 |