Commit 4828ef52 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'avoid-unrelated-errors-in-quarantined-specs' into 'master'

Fix unrelated errors when teardowning quanrantined specs

See merge request gitlab-org/gitlab-ce!28240
parents 3f29c2b5 f59438c0
......@@ -138,7 +138,7 @@ RSpec.configure do |config|
.and_return(false)
end
config.before(:example, :quarantine) do
config.around(:example, :quarantine) do
# Skip tests in quarantine unless we explicitly focus on them.
skip('In quarantine') unless config.inclusion_filter[:quarantine]
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment