Commit f9b96bd2 authored by Robert Speicher's avatar Robert Speicher

Merge branch '50365_fix_fast_spec_helper' into 'master'

Move fixture_path out of support/rspec file which is used by fast_spec_helper

Closes #50365

See merge request gitlab-org/gitlab-ce!21240
parents 0fa2d167 99e185cb
...@@ -42,6 +42,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } ...@@ -42,6 +42,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
RSpec.configure do |config| RSpec.configure do |config|
config.use_transactional_fixtures = false config.use_transactional_fixtures = false
config.use_instantiated_fixtures = false config.use_instantiated_fixtures = false
config.fixture_path = Rails.root
config.verbose_retry = true config.verbose_retry = true
config.display_try_failure_messages = true config.display_try_failure_messages = true
......
...@@ -11,6 +11,4 @@ RSpec.configure do |config| ...@@ -11,6 +11,4 @@ RSpec.configure do |config|
config.include StubMetrics config.include StubMetrics
config.include StubObjectStorage config.include StubObjectStorage
config.include StubENV config.include StubENV
config.fixture_path = Rails.root if defined?(Rails)
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment