Commit f1c6bd8d authored by Robert Speicher's avatar Robert Speicher

Factories - Format project path and code

parent 835be5b1
...@@ -42,8 +42,8 @@ FactoryGirl.define do ...@@ -42,8 +42,8 @@ FactoryGirl.define do
factory :project do factory :project do
sequence(:name) { |n| "project#{n}" } sequence(:name) { |n| "project#{n}" }
path { name } path { name.downcase.gsub(/\s/, '_') }
code { name } code { name.downcase.gsub(/\s/, '_') }
owner owner
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment