Skip to content
Snippets Groups Projects
Commit 4828ef52 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment