gitlab-org--gitlab-foss/spec/factories/project_hooks.rb

9 lines
166 B
Ruby

FactoryGirl.define do
factory :project_hook do
url { FFaker::Internet.uri('http') }
trait :token do
token { SecureRandom.hex(10) }
end
end
end