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

environments.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 846cccfc7fabea2ff5cd1529bf2ff1fb0ff06339 (plain)
1
2
3
4
5
6
7
8
FactoryGirl.define do
  factory :environment, class: Environment do
    sequence(:name) { |n| "environment#{n}" }

    project factory: :empty_project
    sequence(:external_url) { |n| "https://env#{n}.example.gitlab.com" }
  end
end