Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-19 09:09:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-19 09:09:21 +0300
commit82a708b9f0adca259062555d16a9720f9955993b (patch)
tree4408754e03b69e4731e464b58118b23b89f5b0ac /spec/lib/gitlab/kubernetes
parentd36aa82340b8bdd23296de41b9c2a49765d92fcd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/kubernetes')
-rw-r--r--spec/lib/gitlab/kubernetes/namespace_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/lib/gitlab/kubernetes/namespace_spec.rb b/spec/lib/gitlab/kubernetes/namespace_spec.rb
index d44a803410f..467b10e21b1 100644
--- a/spec/lib/gitlab/kubernetes/namespace_spec.rb
+++ b/spec/lib/gitlab/kubernetes/namespace_spec.rb
@@ -92,12 +92,14 @@ describe Gitlab::Kubernetes::Namespace do
it 'logs the error' do
expect(subject.send(:logger)).to receive(:error).with(
hash_including(
- exception: 'Kubeclient::HttpError',
+ exception: {
+ class: 'Kubeclient::HttpError',
+ message: 'system failure'
+ },
status_code: 500,
namespace: 'a_namespace',
class_name: 'Gitlab::Kubernetes::Namespace',
- event: :failed_to_create_namespace,
- message: 'system failure'
+ event: :failed_to_create_namespace
)
)