Commit d39f1fdd authored by Shinya Maeda's avatar Shinya Maeda

Fix kubernetes_spec.rb. (Resync KubernetesService and PlatForm::Kubernetes)

parent a0802dd8
...@@ -239,13 +239,13 @@ describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching ...@@ -239,13 +239,13 @@ describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching
it { is_expected.to be_nil } it { is_expected.to be_nil }
end end
context 'when kubernetes responds with valid pods' do context 'when kubernetes responds with valid pods and deployments' do
before do before do
stub_kubeclient_pods stub_kubeclient_pods
stub_kubeclient_deployments stub_kubeclient_deployments
end end
it { is_expected.to eq(pods: [kube_pod]) } it { is_expected.to eq(pods: [kube_pod], deployments: [kube_deployment]) }
end end
context 'when kubernetes responds with 500s' do context 'when kubernetes responds with 500s' do
......
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