gitlab-org--gitlab-foss/spec/factories/groups.rb
2016-03-04 15:26:51 -05:00

7 lines
152 B
Ruby

FactoryGirl.define do
factory :group do
sequence(:name) { |n| "group#{n}" }
path { name.downcase.gsub(/\s/, '_') }
type 'Group'
end
end