2d4744c34c
And specify owners more clearly
9 lines
180 B
Ruby
9 lines
180 B
Ruby
FactoryGirl.define do
|
|
factory :ci_trigger_without_token, class: Ci::Trigger do
|
|
owner
|
|
|
|
factory :ci_trigger do
|
|
sequence(:token) { |n| "token#{n}" }
|
|
end
|
|
end
|
|
end
|