From b409db465d30ce69dd9af94bab7191d6bf4385be Mon Sep 17 00:00:00 2001 From: Tomislav Nikic Date: Thu, 1 Aug 2019 12:26:51 +0200 Subject: Fixing some formatting issues Fixing some odd formatting on the JSON objects send to the API --- qa/qa/resource/merge_request.rb | 8 ++++---- qa/qa/resource/repository/project_push.rb | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/qa/qa/resource/merge_request.rb b/qa/qa/resource/merge_request.rb index dd0b4c42b11..c88893f381a 100644 --- a/qa/qa/resource/merge_request.rb +++ b/qa/qa/resource/merge_request.rb @@ -91,10 +91,10 @@ module QA def api_post_body { - description: @description, - source_branch: @source_branch, - target_branch: @target_branch, - title: @title + description: @description, + source_branch: @source_branch, + target_branch: @target_branch, + title: @title } end end diff --git a/qa/qa/resource/repository/project_push.rb b/qa/qa/resource/repository/project_push.rb index 9bf0e51ad58..ecde6afc8f1 100644 --- a/qa/qa/resource/repository/project_push.rb +++ b/qa/qa/resource/repository/project_push.rb @@ -52,16 +52,16 @@ module QA def api_post_body { - branch: @remote_branch, - start_branch: @branch_name, - commit_message: @commit_message, - actions: [ - { - action: "create", - file_path: @file_name, - content: @file_content - } - ] + branch: @remote_branch, + start_branch: @branch_name, + commit_message: @commit_message, + actions: [ + { + action: "create", + file_path: @file_name, + content: @file_content + } + ] } end end -- cgit v1.2.1