debian-mirror-gitlab/spec/factories/environments.rb
2016-06-16 23:09:34 +05:30

7 lines
161 B
Ruby

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