summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/fixture_path.rb5
-rw-r--r--spec/support/rspec.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/spec/support/fixture_path.rb b/spec/support/fixture_path.rb
new file mode 100644
index 00000000000..561d7196e8f
--- /dev/null
+++ b/spec/support/fixture_path.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+RSpec.configure do |config|
+ config.fixture_path = Rails.root if defined?(Rails)
+end
diff --git a/spec/support/rspec.rb b/spec/support/rspec.rb
index 9b8bcebcb3a..b38c5dfe60b 100644
--- a/spec/support/rspec.rb
+++ b/spec/support/rspec.rb
@@ -11,6 +11,4 @@ RSpec.configure do |config|
config.include StubMetrics
config.include StubObjectStorage
config.include StubENV
-
- config.fixture_path = Rails.root if defined?(Rails)
end