Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-02 18:09:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-02 18:09:53 +0300
commit879372bc8cced2381df282d64608639cb063b007 (patch)
treeb43271b4227ba258d2e4ac137d2bceee159dc78f /lib
parent0ce0b7bc5d8f9b88811a382c830cd13f2d38247d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r--lib/rspec_flaky/report.rb2
1 files changed, 1 insertions, 1 deletions
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)