summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-06-12 14:03:28 +0200
committerWalmyr Lima <walmyr@gitlab.com>2019-06-13 14:45:42 +0200
commitffeae7fa072e20d9a36c90ba5747e01754c73e89 (patch)
treee28ff9dc8b8f171e48adc5da0096644c45501da1
parentdb7c8cee0911fb3f8aeccacb045d22e4f12c804a (diff)
downloadgitlab-ce-ffeae7fa072e20d9a36c90ba5747e01754c73e89.tar.gz
Organizing things alphabetically
-rw-r--r--qa/qa/resource/issue.rb4
-rw-r--r--qa/qa/resource/label.rb4
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