debian-mirror-gitlab/spec/factories/environments.rb

8 lines
161 B
Ruby
Raw Normal View History

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