From 6176e148f02b8f29b0be632d03e16f07379b93e1 Mon Sep 17 00:00:00 2001 From: David Gil Date: Wed, 12 Aug 2015 14:54:54 +0200 Subject: [PATCH] fix non working migration --- spec/factories.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spec/factories.rb b/spec/factories.rb index fc76685d0..6bbe3b68b 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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