8 lines
153 B
Ruby
8 lines
153 B
Ruby
![]() |
FactoryGirl.define do
|
||
|
factory :namespace do
|
||
|
sequence(:name) { |n| "namespace#{n}" }
|
||
|
path { name.downcase.gsub(/\s/, '_') }
|
||
|
owner
|
||
|
end
|
||
|
end
|