gitlab-org--gitlab-foss/spec/factories/ci/trigger_requests.rb
Dmitriy Zaporozhets 59c3a3239f Fix commit specs
2015-09-10 15:52:52 +02:00

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