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
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-08-03 11:31:03 +0300
committerShinya Maeda <shinya@gitlab.com>2018-08-03 11:31:03 +0300
commitc53de19ff8b8734d9924a261206318021c39a952 (patch)
treed7d1d6a30d8681d30fb7835351fbb36d66741ed3 /app/services/ci
parentc8f13cc5bd4fbd7b9e2bab1bdded73a080a29255 (diff)
Use serializable_hash for compared results
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/compare_test_reports_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/compare_test_reports_service.rb b/app/services/ci/compare_test_reports_service.rb
index 8bc3354c403..248c9b364d2 100644
--- a/app/services/ci/compare_test_reports_service.rb
+++ b/app/services/ci/compare_test_reports_service.rb
@@ -14,7 +14,7 @@ module Ci
status: :parsed,
data: TestReportsComparerSerializer
.new(project: project)
- .represent(comparer).to_json
+ .represent(comparer).as_json
}
rescue => e
{ status: :error, status_reason: e.message }