2015-08-25 21:42:46 -04:00
|
|
|
FactoryGirl.define do
|
2015-09-10 09:52:52 -04:00
|
|
|
factory :ci_trigger_request, class: Ci::TriggerRequest do
|
2017-05-31 09:43:19 -04:00
|
|
|
trigger factory: :ci_trigger
|
2016-01-04 10:38:32 -05:00
|
|
|
|
2017-05-31 09:43:19 -04:00
|
|
|
factory :ci_trigger_request_with_variables do
|
2015-08-25 21:42:46 -04:00
|
|
|
variables do
|
|
|
|
{
|
2016-07-21 07:50:01 -04:00
|
|
|
TRIGGER_KEY_1: 'TRIGGER_VALUE_1',
|
|
|
|
TRIGGER_KEY_2: 'TRIGGER_VALUE_2'
|
2015-08-25 21:42:46 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|