diff options
author | Joshua Lambert <joshua@gitlab.com> | 2018-05-22 21:45:30 +0300 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2018-05-22 21:45:30 +0300 |
commit | ceb628e5706d35c28b6b1791add1ccc400ae8b19 (patch) | |
tree | a7fd43859a0466c192f025dec758527849d4c8b9 /spec/models/clusters/applications/prometheus_spec.rb | |
parent | 0b1c690466db49fa2338046b9e841dfbce7ac2d9 (diff) |
Update Prometheus URL spec for 1.10 format
Diffstat (limited to 'spec/models/clusters/applications/prometheus_spec.rb')
-rw-r--r-- | spec/models/clusters/applications/prometheus_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/clusters/applications/prometheus_spec.rb b/spec/models/clusters/applications/prometheus_spec.rb index 407e2fc598a..d2302583ac8 100644 --- a/spec/models/clusters/applications/prometheus_spec.rb +++ b/spec/models/clusters/applications/prometheus_spec.rb @@ -79,7 +79,7 @@ describe Clusters::Applications::Prometheus do end it 'creates proper url' do - expect(subject.prometheus_client.url).to eq('http://example.com/api/v1/proxy/namespaces/gitlab-managed-apps/service/prometheus-prometheus-server:80') + expect(subject.prometheus_client.url).to eq('http://example.com/api/v1/namespaces/gitlab-managed-apps/service/prometheus-prometheus-server:80/proxy') end it 'copies options and headers from kube client to proxy client' do |