debian-mirror-gitlab/spec/factories/project_hooks.rb
2016-06-02 11:05:42 +05:30

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