gitlab-org--gitlab-foss/spec/factories/environments.rb

8 lines
161 B
Ruby
Raw Normal View History

2016-06-14 07:51:12 -04:00
FactoryGirl.define do
factory :environment, class: Environment do
sequence(:name) { |n| "environment#{n}" }
project factory: :empty_project
end
end