fixed comment vote functional test

This commit is contained in:
albert
2011-04-01 19:01:17 -04:00
parent e7748e1fc9
commit cbd877d020
43 changed files with 135 additions and 20369 deletions

View File

@@ -1,4 +1,3 @@
Factory.define(:comment_vote) do |f|
f.comment {|x| x.association(:comment)}
f.user {|x| x.association(:user)}
f.score 1
end

View File

@@ -1,4 +0,0 @@
Factory.define(:unapproval) do |f|
f.post {|x| x.association(:post)}
f.reason "xxx"
end