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:
commit
4828ef52ed
|
@ -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…
Reference in New Issue