summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-02-08 12:16:08 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-02-28 17:15:22 +0400
commitba5373805a1e3396434df3dc023b8b573374b5a1 (patch)
tree5b2e5857c5a924a3af4023f61a67f1be9a8d1116 /spec/factories
parentb4648c3b521f2160bd4d7f47267dfaf204456825 (diff)
downloadgitlab-ce-ba5373805a1e3396434df3dc023b8b573374b5a1.tar.gz
Description added to user temas factory
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/user_teams.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/user_teams.rb b/spec/factories/user_teams.rb
index 1a9ae8e885c..8d1ee11ee75 100644
--- a/spec/factories/user_teams.rb
+++ b/spec/factories/user_teams.rb
@@ -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