Add bridge variables trait to the factory

This commit is contained in:
Grzegorz Bizon 2019-01-28 12:49:15 +01:00
parent 021048bdf7
commit b8b2928f77
1 changed files with 4 additions and 0 deletions

View File

@ -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|