diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-21 08:59:40 -0600 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-22 14:52:33 -0600 |
commit | ca59bfdc6657fc20a27e93f41fc9e38c41498389 (patch) | |
tree | fb1a7397b1940445dc7c41ba8133027df2812258 /spec/factories/clusters/clusters.rb | |
parent | fbb83069deaad3db1239af66e6c9dc913f29f8f8 (diff) | |
download | gitlab-ce-ca59bfdc6657fc20a27e93f41fc9e38c41498389.tar.gz |
Rearrange DeploymentPlatform methods
- Change find_cluster_platform_kubernetes to ignore environment argument
- Fix broken specs
CE Port of: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5047/
Diffstat (limited to 'spec/factories/clusters/clusters.rb')
-rw-r--r-- | spec/factories/clusters/clusters.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/clusters/clusters.rb b/spec/factories/clusters/clusters.rb index 20d5580f0c2..98566f907f9 100644 --- a/spec/factories/clusters/clusters.rb +++ b/spec/factories/clusters/clusters.rb @@ -32,5 +32,9 @@ FactoryBot.define do trait :disabled do enabled false end + + trait :production_environment do + sequence(:environment_scope) { |n| "production#{n}/*" } + end end end |