summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-05-04 09:16:24 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-05-04 18:35:53 -0500
commit6eb9e981c61969a904ccbae2c5f52f562b02d199 (patch)
treebff683eaedd5d763c39c1d4dd28307e377d92c8a /spec/lib
parent64e811957795293b647bda7aef23ffbd92082614 (diff)
downloadgitlab-ce-prometheus-integration-test-setting-fix.tar.gz
Improved changelog entry, also changed error message for HTTParty errorprometheus-integration-test-setting-fix
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/prometheus_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/prometheus_spec.rb b/spec/lib/gitlab/prometheus_spec.rb
index 8e187df6ca4..fc453a2704b 100644
--- a/spec/lib/gitlab/prometheus_spec.rb
+++ b/spec/lib/gitlab/prometheus_spec.rb
@@ -73,7 +73,7 @@ describe Gitlab::Prometheus, lib: true do
req_stub = stub_prometheus_request_with_exception(prometheus_url, HTTParty::Error)
expect { subject.send(:get, prometheus_url) }
- .to raise_error(Gitlab::PrometheusError, "An error has ocurred")
+ .to raise_error(Gitlab::PrometheusError, "Network connection error")
expect(req_stub).to have_been_requested
end
end