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

10 lines
216 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
factory :ci_trigger_without_token, class: Ci::Trigger do
2015-09-09 08:17:16 -04:00
factory :ci_trigger do
2015-08-25 21:42:46 -04:00
token 'token'
end
end
end