summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-06-19 16:01:25 +0200
committerWalmyr Lima <walmyr@gitlab.com>2019-06-19 16:01:27 +0200
commit02eece753967fa2071ca9edbd866376987d803a6 (patch)
tree35e770cca42e0c5b3616b10686bcb3c34dda5a2a
parent30c447f1f264ea5d8fbe9b50b8d7b8608590fd50 (diff)
downloadgitlab-ce-02eece753967fa2071ca9edbd866376987d803a6.tar.gz
Backport EE MR
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14280
-rw-r--r--doc/development/testing_guide/end_to_end/quick_start_guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/testing_guide/end_to_end/quick_start_guide.md b/doc/development/testing_guide/end_to_end/quick_start_guide.md
index d33ef0fc229..f96c85be1ba 100644
--- a/doc/development/testing_guide/end_to_end/quick_start_guide.md
+++ b/doc/development/testing_guide/end_to_end/quick_start_guide.md
@@ -247,7 +247,7 @@ module QA
[@new_label_same_scope, @new_label_different_scope].each do |label|
Resource::Label.fabricate_via_api! do |l|
- l.project = issue.project.id
+ l.project = issue.project
l.title = label
end
end
@@ -414,7 +414,7 @@ def api_get_path
end
def api_post_path
- "/projects/#{project}/labels"
+ "/projects/#{project.id}/labels"
end
def api_post_body