diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-26 02:21:04 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-27 00:32:23 +0400 |
commit | f1c6bd8df3225d33af4d3d032cc98be86317b348 (patch) | |
tree | 0f44131a190501017e64590f93ceb7a32fcc5f9b /spec | |
parent | 835be5b1bf25fc0509ef1b1f7f7f2e3a344ff231 (diff) |
Factories - Format project path and code
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories.rb b/spec/factories.rb index 92790a3fdb7..e11e6d07398 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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 |