Commit f1c6bd8d authored by Robert Speicher's avatar Robert Speicher
Browse files

Factories - Format project path and code

parent 006855b7da22
......@@ -42,8 +42,8 @@ def self.attributes(type, *args)
factory :project do
sequence(:name) { |n| "project#{n}" }
path { name }
code { name }
path { name.downcase.gsub(/\s/, '_') }
code { name.downcase.gsub(/\s/, '_') }
owner
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