summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-10-06 19:57:42 +0200
committerRémy Coutable <remy@rymai.me>2017-10-06 19:57:42 +0200
commitcf62c96adcfc82764c831ce90a7752e44263c601 (patch)
treef581a84321dc8bb8e7d5b5e6769bb2b4e0a97856
parent10e3342a06e3f90cacaed6b44c3b205df678fc02 (diff)
downloadgitlab-ce-cf62c96adcfc82764c831ce90a7752e44263c601.tar.gz
Ensure we set SUITE_FLAKY_RSPEC_REPORT_PATH to nil in RspecFlaky::Listener spec
Signed-off-by: Rémy Coutable <remy@rymai.me>
-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