lib/decidim/comments/test/factories.rb in decidim-comments-0.4.2 vs lib/decidim/comments/test/factories.rb in decidim-comments-0.4.3

- old
+ new

@@ -1,9 +1,6 @@ # frozen_string_literal: true -require "decidim/core/test/factories" -require "decidim/admin/test/factories" - FactoryGirl.define do factory :comment, class: "Decidim::Comments::Comment" do author { build(:user, organization: commentable.organization) } commentable { build(:dummy_resource) } root_commentable { commentable }