fixed comment vote functional test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
Factory.define(:unapproval) do |f|
|
||||
f.post {|x| x.association(:post)}
|
||||
f.reason "xxx"
|
||||
end
|
||||
Reference in New Issue
Block a user