rspec: by default use the safer bisect runner for bisecting

This commit is contained in:
Pierre de La Morinerie 2018-11-14 14:33:32 +01:00
parent 10e56a30eb
commit 35613992fe

View file

@ -104,6 +104,11 @@ RSpec.configure do |config|
config.infer_spec_type_from_file_location!
config.tty = true
# Since rspec 3.8.0, bisect uses fork to improve bisection speed.
# This however fails as soon as we're running feature tests (which uses many processes).
# Default to the :shell bisect runner, so that bisecting over feature tests works.
config.bisect_runner = :shell
config.include Shoulda::Matchers::ActiveRecord, type: :model
config.include Shoulda::Matchers::ActiveModel, type: :model
config.include Shoulda::Matchers::Independent, type: :model