summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalmyr <walmyr@gitlab.com>2019-05-20 14:58:21 +0000
committerWalmyr <walmyr@gitlab.com>2019-05-20 14:58:21 +0000
commit3a43606d24d9fddbe2532e66edf0f14dcb054b45 (patch)
treeb8e9001a0dbca944f23303ba1591fb272908dcb2
parent7ef023835952c32da2dc07b188071def694d6c64 (diff)
downloadgitlab-ce-3a43606d24d9fddbe2532e66edf0f14dcb054b45.tar.gz
Apply suggestion to qa/docs/WRITING_TESTS_FROM_SCRATCH.md
-rw-r--r--qa/docs/WRITING_TESTS_FROM_SCRATCH.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md
index b72f2383837..52a0dee2c8f 100644
--- a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md
+++ b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md
@@ -457,7 +457,7 @@ By defining the `api_get_path` method, we allow for the [`api_fabricator.rb`](ht
By defining the `api_post_path` method, we allow for the [`ApiFabricator `](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/qa/qa/resource/api_fabricator.rb) module to know which path to use to create a new label in a specific project.
-And by defining the `api_post_body` method, we we allow for the [`api_post`](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/qa/qa/resource/api_fabricator.rb#L65) method of the `api_fabricator.rb` file to know which data to send when making the POST request.
+By defining the `api_post_body` method, we we allow for the [`ApiFabricator.api_post`](https://gitlab.com/gitlab-org/gitlab-ee/blob/a9177ca1812bac57e2b2fa4560e1d5dd8ffac38b/qa/qa/resource/api_fabricator.rb#L68) method to know which data to send when making the `POST` request.
> Notice that we pass both `name` and `color` attributes in the `api_post_body` since [those are required](https://docs.gitlab.com/ee/api/labels.html#create-a-new-label).