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
This commit is contained in:
Lin Jen-Shin 2019-05-10 17:29:15 +00:00
commit 4828ef52ed
1 changed files with 1 additions and 1 deletions

View File

@ -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