Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-30 18:08:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-30 18:08:27 +0300
commit9376fdc13edb5fb822431df943fa088b6a273316 (patch)
treef12ac6debd2c3efc59f1629062628f40996e752f /spec/spec_helper.rb
parent7c28a677895df5195ed6342921934734646c90c9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 6a2975e566a..6d0969e8688 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -110,8 +110,11 @@ RSpec.configure do |config|
end
unless ENV['CI']
+ # Allow running `:focus` examples locally,
+ # falling back to all tests when there is no `:focus` example.
config.filter_run focus: true
config.run_all_when_everything_filtered = true
+
# Re-run failures locally with `--only-failures`
config.example_status_persistence_file_path = './spec/examples.txt'
end