gitlab-org--gitlab-foss/spec/factories/environments.rb
2016-06-14 13:51:12 +02:00

7 lines
161 B
Ruby

FactoryGirl.define do
factory :environment, class: Environment do
sequence(:name) { |n| "environment#{n}" }
project factory: :empty_project
end
end