summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions
diff options
context:
space:
mode:
authorAlberto Vena <kennyadsl@gmail.com>2021-03-05 14:24:11 +0100
committerGitHub <noreply@github.com>2021-03-05 14:24:11 +0100
commit1031f7edc12030d92f8c7ce739694793b036b416 (patch)
tree0b8981463963d3d59d30069963e28b0127c480ca /lib/solidus_subscriptions
parentd163c8fc5e7f33cee272b0ca6c9fadfe443317de (diff)
parent632df71b3196dead6ecaa5b2b93c16d093b2e033 (diff)
Merge pull request #203 from solidusio-contrib/kennyadsl/use-new-factories-loading
Load factories using the new standard
Diffstat (limited to 'lib/solidus_subscriptions')
-rw-r--r--lib/solidus_subscriptions/testing_support/factories.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories.rb b/lib/solidus_subscriptions/testing_support/factories.rb
deleted file mode 100644
index c19a785..0000000
--- a/lib/solidus_subscriptions/testing_support/factories.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-require 'factory_bot'
-require 'spree/testing_support/factories'
-
-factory_path = "#{File.dirname(__FILE__)}/factories/**/*_factory.rb"
-Dir[factory_path].each { |f| require File.expand_path(f) }