fixes #2386, fix tests

This commit is contained in:
r888888888
2015-05-21 11:57:08 -07:00
parent ff83e0a7a8
commit 45ffe0b68e
3 changed files with 37 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
FactoryGirl.define do
factory(:tag) do
name {Faker::Name.first_name.downcase}
name {"#{Faker::Name.first_name.downcase}#{rand(1000)}"}
post_count 0
category {Tag.categories.general}
related_tags ""