2015-09-25 12:07:36 +05:30
|
|
|
FactoryGirl.define do
|
|
|
|
factory :ci_trigger_request, class: Ci::TriggerRequest do
|
2017-09-10 17:25:29 +05:30
|
|
|
trigger factory: :ci_trigger
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
factory :ci_trigger_request_with_variables do
|
2015-09-25 12:07:36 +05:30
|
|
|
variables do
|
|
|
|
{
|
2016-09-13 17:45:13 +05:30
|
|
|
TRIGGER_KEY_1: 'TRIGGER_VALUE_1',
|
|
|
|
TRIGGER_KEY_2: 'TRIGGER_VALUE_2'
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|