debian-mirror-gitlab/spec/factories/ci/trigger_requests.rb
2015-09-25 12:07:36 +05:30

13 lines
308 B
Ruby

# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :ci_trigger_request, class: Ci::TriggerRequest do
factory :ci_trigger_request_with_variables do
variables do
{
TRIGGER_KEY: 'TRIGGER_VALUE'
}
end
end
end
end