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
path: root/spec
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-05 11:46:33 +0300
committerRémy Coutable <remy@rymai.me>2019-08-05 11:46:33 +0300
commite6a05e5a63b3b336179a4ed67df76ba7ad08fadb (patch)
tree1358a0ce408e5656051ae9ecc0bb894948f5dcbb /spec
parent1ca5e1186d4bfeaa61b065f23419e640e4e52af3 (diff)
parent8f653f098394d3f048c0abdecda2a0de54b48e08 (diff)
Merge branch 'tc-reanble-running-quarantined-specs' into 'master'
Again run quarantine specs if tag provided See merge request gitlab-org/gitlab-ce!31414
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 6994b6687fc..bcc133790d1 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -148,9 +148,9 @@ RSpec.configure do |config|
Gitlab::ThreadMemoryCache.cache_backend.clear
end
- config.around(:example, :quarantine) do
+ config.around(:example, :quarantine) do |example|
# Skip tests in quarantine unless we explicitly focus on them.
- skip('In quarantine') unless config.inclusion_filter[:quarantine]
+ example.run if config.inclusion_filter[:quarantine]
end
config.before(:example, :request_store) do