From 04af6132b14e594aeddef2a6d0c171af667c9539 Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Mon, 24 Jun 2019 14:08:42 +1200 Subject: Use #cluster for prometheus_adapter We still fallback to environment.deployment_platform until we can backfill --- spec/factories/deployments.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/factories/deployments.rb') diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb index db438ad32d3..1c7787bc1a6 100644 --- a/spec/factories/deployments.rb +++ b/spec/factories/deployments.rb @@ -22,6 +22,10 @@ FactoryBot.define do ref 'pages-deploy' end + trait :on_cluster do + cluster factory: %i(cluster provided_by_gcp) + end + trait :running do status :running end -- cgit v1.2.1