gitlab-org--gitlab-foss/spec/factories/ci/trigger_requests.rb
2016-03-04 15:26:51 -05:00

13 lines
274 B
Ruby

FactoryGirl.define do
factory :ci_trigger_request, class: Ci::TriggerRequest do
factory :ci_trigger_request_with_variables do
trigger factory: :ci_trigger
variables do
{
TRIGGER_KEY: 'TRIGGER_VALUE'
}
end
end
end
end