fix tests

This commit is contained in:
r888888888
2015-08-18 17:37:07 -07:00
parent 66de9c85a3
commit 341b29ce41
32 changed files with 3205 additions and 3223 deletions

View File

@@ -1,6 +1,8 @@
FactoryGirl.define do
factory(:post) do
md5 {|x| Time.now.to_f.to_s}
sequence :md5 do |n|
n.to_s
end
uploader :factory => :user
uploader_ip_addr "127.0.0.1"
tag_string "tag1 tag2"