fix non working migration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user