Chore(test): enable rspec only-failures support

This commit is contained in:
François Vantomme 2021-03-08 10:35:47 +01:00 committed by Pierre de La Morinerie
parent d415257111
commit f747b0a46a
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -11,6 +11,7 @@
/log/* /log/*
!/log/.keep !/log/.keep
/tmp /tmp
failing_specs.txt
public/uploads public/uploads
public/downloads public/downloads

View file

@ -22,6 +22,7 @@ RSpec.configure do |config|
config.color = true config.color = true
config.tty = true config.tty = true
config.example_status_persistence_file_path = 'failing_specs.txt'
config.run_all_when_everything_filtered = true config.run_all_when_everything_filtered = true
config.filter_run :focus => true config.filter_run :focus => true