Description added to user temas factory

This commit is contained in:
Andrew8xx8 2013-02-08 12:16:08 +04:00
parent b4648c3b52
commit ba5373805a

View file

@ -15,6 +15,7 @@
FactoryGirl.define do
factory :user_team do
sequence(:name) { |n| "team#{n}" }
sequence(:description) { |n| "team_description#{n}" }
path { name.downcase.gsub(/\s/, '_') }
owner
end