Commit f1c6bd8df3225d33af4d3d032cc98be86317b348

Authored by Robert Speicher
1 parent 835be5b1

Factories - Format project path and code

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
spec/factories.rb
... ... @@ -42,8 +42,8 @@ FactoryGirl.define do
42 42  
43 43 factory :project do
44 44 sequence(:name) { |n| "project#{n}" }
45   - path { name }
46   - code { name }
  45 + path { name.downcase.gsub(/\s/, '_') }
  46 + code { name.downcase.gsub(/\s/, '_') }
47 47 owner
48 48 end
49 49  
... ...