summaryrefslogtreecommitdiff
path: root/doc/development/testing_guide/best_practices.md
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2019-03-05 13:06:32 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-03-05 13:06:32 +0000
commit9c8dc7ddf61eff16d56579a8818bb866ca3e3e5e (patch)
treed84bfb00e9a61e08be62f7bc374cc9b3a3d852a4 /doc/development/testing_guide/best_practices.md
parentb5fce88e86fd0fd1b3b694c6a3ddb236e9e8815e (diff)
downloadgitlab-ce-9c8dc7ddf61eff16d56579a8818bb866ca3e3e5e.tar.gz
Docs: Fix broken anchors in development docs
Diffstat (limited to 'doc/development/testing_guide/best_practices.md')
-rw-r--r--doc/development/testing_guide/best_practices.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/testing_guide/best_practices.md b/doc/development/testing_guide/best_practices.md
index 2bd8332bf93..cfe0e6f70fc 100644
--- a/doc/development/testing_guide/best_practices.md
+++ b/doc/development/testing_guide/best_practices.md
@@ -40,7 +40,7 @@ bundle exec rspec spec/[path]/[to]/[spec].rb
to separate phases.
- Use `Gitlab.config.gitlab.host` rather than hard coding `'localhost'`
- Don't assert against the absolute value of a sequence-generated attribute (see
- [Gotchas](../gotchas.md#dont-assert-against-the-absolute-value-of-a-sequence-generated-attribute)).
+ [Gotchas](../gotchas.md#do-not-assert-against-the-absolute-value-of-a-sequence-generated-attribute)).
- Don't supply the `:each` argument to hooks since it's the default.
- On `before` and `after` hooks, prefer it scoped to `:context` over `:all`
- When using `evaluate_script("$('.js-foo').testSomething()")` (or `execute_script`) which acts on a given element,