summaryrefslogtreecommitdiff
path: root/doc/development/testing.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/testing.md')
-rw-r--r--doc/development/testing.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md
index 513457d203a..0d89f2b1a85 100644
--- a/doc/development/testing.md
+++ b/doc/development/testing.md
@@ -69,6 +69,8 @@ the command line via `bundle exec teaspoon`, or via a web browser at
- Try to match the ordering of tests to the ordering within the class.
- Try to follow the [Four-Phase Test][four-phase-test] pattern, using newlines
to separate phases.
+- Use multiline `before` and `after` blocks, regardless of whether the contents
+ are multiline.
[four-phase-test]: https://robots.thoughtbot.com/four-phase-test