summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-10-06 18:04:21 +0000
committerStan Hu <stanhu@gmail.com>2017-10-06 18:04:21 +0000
commit2cf5dca8f80cdefeb8932bf80417f52f289668c8 (patch)
treef581a84321dc8bb8e7d5b5e6769bb2b4e0a97856
parent10e3342a06e3f90cacaed6b44c3b205df678fc02 (diff)
parentcf62c96adcfc82764c831ce90a7752e44263c601 (diff)
downloadgitlab-ce-2cf5dca8f80cdefeb8932bf80417f52f289668c8.tar.gz
Merge branch '38872-fix-rspec-flaky-spec' into 'master'
Ensure we set SUITE_FLAKY_RSPEC_REPORT_PATH to nil in RspecFlaky::Listener spec Closes #38872 See merge request gitlab-org/gitlab-ce!14736
-rw-r--r--spec/lib/rspec_flaky/listener_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/rspec_flaky/listener_spec.rb b/spec/lib/rspec_flaky/listener_spec.rb
index 7590ea9576d..bfb7648b486 100644
--- a/spec/lib/rspec_flaky/listener_spec.rb
+++ b/spec/lib/rspec_flaky/listener_spec.rb
@@ -45,6 +45,7 @@ describe RspecFlaky::Listener, :aggregate_failures do
# Stub these env variables otherwise specs don't behave the same on the CI
stub_env('CI_PROJECT_URL', nil)
stub_env('CI_JOB_ID', nil)
+ stub_env('SUITE_FLAKY_RSPEC_REPORT_PATH', nil)
end
describe '#initialize' do