rspec: by default use the safer bisect runner for bisecting
This commit is contained in:
parent
10e56a30eb
commit
35613992fe
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue