summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/solidus_subscriptions/factories.rb4
-rw-r--r--spec/spec_helper.rb4
-rw-r--r--spec/support/factories.rb2
3 files changed, 2 insertions, 8 deletions
diff --git a/lib/solidus_subscriptions/factories.rb b/lib/solidus_subscriptions/factories.rb
deleted file mode 100644
index 745a01e..0000000
--- a/lib/solidus_subscriptions/factories.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# frozen_string_literal: true
-
-FactoryBot.define do
-end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 2f15fad..c0569f2 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,8 +18,8 @@ require 'solidus_dev_support/rspec/feature_helper'
# in spec/support/ and its subdirectories.
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
-# Requires factories defined in lib/solidus_subscriptions/factories.rb
-require 'solidus_subscriptions/factories'
+# Requires factories defined in lib/solidus_subscriptions/testing_support/factories.rb
+require 'solidus_subscriptions/testing_support/factories'
RSpec.configure do |config|
config.infer_spec_type_from_file_location!
diff --git a/spec/support/factories.rb b/spec/support/factories.rb
index cb10a31..f1d107f 100644
--- a/spec/support/factories.rb
+++ b/spec/support/factories.rb
@@ -1,3 +1 @@
-require 'solidus_subscriptions/testing_support/factories'
-
FactoryBot.use_parent_strategy = false