diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-28 14:49:15 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-29 14:46:19 +0300 |
commit | b8b2928f77f0a76c9560f7138c5c26e112fdc787 (patch) | |
tree | 09e1fe25b35937577161713c041414fd51e4a9c7 /spec | |
parent | 021048bdf77e50f08acc0e5e223deb3a967ee071 (diff) |
Add bridge variables trait to the factory
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/ci/bridge.rb | 4 |
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| |