diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 11:31:03 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 11:31:03 +0300 |
commit | c53de19ff8b8734d9924a261206318021c39a952 (patch) | |
tree | d7d1d6a30d8681d30fb7835351fbb36d66741ed3 /app/services/ci | |
parent | c8f13cc5bd4fbd7b9e2bab1bdded73a080a29255 (diff) |
Use serializable_hash for compared results
Diffstat (limited to 'app/services/ci')
-rw-r--r-- | app/services/ci/compare_test_reports_service.rb | 2 |
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 } |