debian-mirror-gitlab/spec/factories/ci/triggers.rb

10 lines
216 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :ci_trigger_without_token, class: Ci::Trigger do
factory :ci_trigger do
token 'token'
end
end
end