fix non working migration

This commit is contained in:
David Gil
2015-08-12 14:54:54 +02:00
parent d134284774
commit 6176e148f0

View File

@@ -22,15 +22,11 @@ FactoryGirl.define do
end
factory :comment do
commentable
association :commentable, factory: :debate
user
body 'Comment body'
end
factory :commentable do
debate
end
factory :administrator do
user
end