From 879372bc8cced2381df282d64608639cb063b007 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Sat, 2 May 2020 15:09:53 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- lib/rspec_flaky/report.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rspec_flaky/report.rb b/lib/rspec_flaky/report.rb index 393ba3ae9f7..73f30362cfe 100644 --- a/lib/rspec_flaky/report.rb +++ b/lib/rspec_flaky/report.rb @@ -40,7 +40,7 @@ module RspecFlaky report_path_dir = File.dirname(file_path) FileUtils.mkdir_p(report_path_dir) unless Dir.exist?(report_path_dir) - File.write(file_path, Gitlab::Json.pretty_generate(flaky_examples.to_h)) + File.write(file_path, JSON.pretty_generate(flaky_examples.to_h)) end def prune_outdated(days: OUTDATED_DAYS_THRESHOLD)