Commit b8b2928f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add bridge variables trait to the factory

parent 021048bd
...@@ -10,6 +10,10 @@ FactoryBot.define do ...@@ -10,6 +10,10 @@ FactoryBot.define do
pipeline factory: :ci_pipeline pipeline factory: :ci_pipeline
trait :variables do
yaml_variables [{ key: 'BRIDGE', value: 'cross', public: true }]
end
transient { downstream nil } transient { downstream nil }
after(:build) do |bridge, evaluator| after(:build) do |bridge, evaluator|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment