Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_hooks.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3195fb3ddcc90332facafc6ccb5bfd7b80a6d7f1 (plain)
1
2
3
4
5
6
7
8
9
FactoryGirl.define do
  factory :project_hook do
    url { FFaker::Internet.uri('http') }

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