Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-28 14:49:15 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-29 14:46:19 +0300
commitb8b2928f77f0a76c9560f7138c5c26e112fdc787 (patch)
tree09e1fe25b35937577161713c041414fd51e4a9c7 /spec/factories
parent021048bdf77e50f08acc0e5e223deb3a967ee071 (diff)
Add bridge variables trait to the factory
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/bridge.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/bridge.rb b/spec/factories/ci/bridge.rb
index 39427f416a0..b1d82b98411 100644
--- a/spec/factories/ci/bridge.rb
+++ b/spec/factories/ci/bridge.rb
@@ -10,6 +10,10 @@ FactoryBot.define do
pipeline factory: :ci_pipeline
+ trait :variables do
+ yaml_variables [{ key: 'BRIDGE', value: 'cross', public: true }]
+ end
+
transient { downstream nil }
after(:build) do |bridge, evaluator|