summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-27 22:35:16 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-28 20:47:59 +0900
commit53da3d976f3705a87edc50dca41748b5e479fc83 (patch)
tree665bca72e99ce5033b814ac6cb94cce11ea63825 /spec/support
parent1d7e3ef1a55991e057213add556926eb13e0bd48 (diff)
downloadgitlab-ce-53da3d976f3705a87edc50dca41748b5e479fc83.tar.gz
Replce kubernetes_service and deployment_service to deployment_platform
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/prometheus/additional_metrics_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/prometheus/additional_metrics_shared_examples.rb b/spec/support/prometheus/additional_metrics_shared_examples.rb
index 7e20b4e0232..f3338259a77 100644
--- a/spec/support/prometheus/additional_metrics_shared_examples.rb
+++ b/spec/support/prometheus/additional_metrics_shared_examples.rb
@@ -43,7 +43,7 @@ RSpec.shared_examples 'additional metrics query' do
describe 'project has Kubernetes service' do
shared_examples 'correct behavior with metrics' do
let(:environment) { create(:environment, slug: 'environment-slug', project: project) }
- let(:kube_namespace) { project.kubernetes_service.actual_namespace }
+ let(:kube_namespace) { project.deployment_platform.actual_namespace }
it_behaves_like 'query context containing environment slug and filter'