project_hooks.rb 166 Bytes
Newer Older
1 2 3
FactoryGirl.define do
  factory :project_hook do
    url { FFaker::Internet.uri('http') }
4 5 6 7

    trait :token do
      token { SecureRandom.hex(10) }
    end
8 9
  end
end