gitlab-org--gitlab-foss/spec/factories/ci/triggers.rb
Dmitriy Zaporozhets cc4ef4da11 Refactor CI tests
2015-09-09 14:17:16 +02:00

9 lines
216 B
Ruby

# 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