diff options
author | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-06-17 13:29:34 +0200 |
---|---|---|
committer | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-06-17 13:51:24 +0200 |
commit | 1c5c52fb90cb8080f4cd8881d2816ee3a08d2306 (patch) | |
tree | 8f034ef1773f493836403442bc3f6b623494bde3 | |
parent | 20ee4e22c56f9fd12bf9252aa4129ac4ab59c985 (diff) |
Remove unused factories file
-rw-r--r-- | lib/solidus_subscriptions/factories.rb | 4 | ||||
-rw-r--r-- | spec/spec_helper.rb | 4 | ||||
-rw-r--r-- | spec/support/factories.rb | 2 |
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 |