Move fixture_path out of support/rspec file which is used by fast_spec_helper, so that fast specs can be run on its own again.
Move `fixture_path` config together with use_transactional_fixtures and
use_instantiated_fixtures. These settings are all added by rspec-rails
8c6c9590b9/lib/rspec/rails/configuration.rb (L65-L67)
This commit is contained in:
parent
b8856d6629
commit
99e185cb91
2 changed files with 1 additions and 2 deletions
|
@ -42,6 +42,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
|||
RSpec.configure do |config|
|
||||
config.use_transactional_fixtures = false
|
||||
config.use_instantiated_fixtures = false
|
||||
config.fixture_path = Rails.root
|
||||
|
||||
config.verbose_retry = true
|
||||
config.display_try_failure_messages = true
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue