gitlab-org--gitlab-foss/spec/factories/ci/trigger_requests.rb

14 lines
308 B
Ruby
Raw Normal View History

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
2015-08-25 21:42:46 -04:00
variables do
{
TRIGGER_KEY: 'TRIGGER_VALUE'
}
end
end
end
end