2015-08-25 21:42:46 -04:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
2015-09-10 09:52:52 -04:00
|
|
|
factory :ci_trigger_request, class: Ci::TriggerRequest do
|
2015-09-09 08:17:16 -04:00
|
|
|
factory :ci_trigger_request_with_variables do
|
2016-01-05 05:01:44 -05:00
|
|
|
trigger factory: :ci_trigger
|
2016-01-04 10:38:32 -05:00
|
|
|
|
2015-08-25 21:42:46 -04:00
|
|
|
variables do
|
|
|
|
{
|
|
|
|
TRIGGER_KEY: 'TRIGGER_VALUE'
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|