added limit methods to user, more work on post views
This commit is contained in:
4
test/factories/comment_vote.rb
Normal file
4
test/factories/comment_vote.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
Factory.define(:comment_vote) do |f|
|
||||
f.comment {|x| x.association(:comment)}
|
||||
f.user {|x| x.association(:user)}
|
||||
end
|
||||
Reference in New Issue
Block a user