From ffeae7fa072e20d9a36c90ba5747e01754c73e89 Mon Sep 17 00:00:00 2001 From: Walmyr Lima Date: Wed, 12 Jun 2019 14:03:28 +0200 Subject: Organizing things alphabetically --- qa/qa/resource/issue.rb | 4 ++-- qa/qa/resource/label.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/qa/resource/issue.rb b/qa/qa/resource/issue.rb index 89af3621a33..05e684d24b4 100644 --- a/qa/qa/resource/issue.rb +++ b/qa/qa/resource/issue.rb @@ -12,8 +12,8 @@ module QA end end - attribute :title attribute :labels + attribute :title def fabricate! project.visit! @@ -37,8 +37,8 @@ module QA def api_post_body { + labels: [labels], title: title, - labels: [labels] } end end diff --git a/qa/qa/resource/label.rb b/qa/qa/resource/label.rb index 94cb12ac9b6..5a681a5fe9f 100644 --- a/qa/qa/resource/label.rb +++ b/qa/qa/resource/label.rb @@ -51,8 +51,8 @@ module QA def api_post_body { - name: @title, - color: @color + color: @color, + name: @title } end end -- cgit v1.2.1