mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 18:16:45 +10:00
Factories - Format project path and code
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ FactoryGirl.define do
|
||||
|
||||
factory :project do
|
||||
sequence(:name) { |n| "project#{n}" }
|
||||
path { name }
|
||||
code { name }
|
||||
path { name.downcase.gsub(/\s/, '_') }
|
||||
code { name.downcase.gsub(/\s/, '_') }
|
||||
owner
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user