diff --git a/spec/factories.rb b/spec/factories.rb index 9a7ce6181..9e9ab2d0a 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -18,7 +18,8 @@ FactoryGirl.define do association :votable, factory: :debate association :voter, factory: :user vote_flag true - + end + factory :comment do commentable user