diff options
author | Drew Blessing <drew@blessing.io> | 2016-08-23 01:09:36 +0000 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2016-08-23 16:25:33 -0500 |
commit | c703f33d85191d775a95f6ca1153eb4cfd66378e (patch) | |
tree | b0ba67178537cf28af159da9ad83d9ea39ced431 | |
parent | aa6fe141b3052036d9d55681f81a8c290e262990 (diff) | |
download | gitlab-ce-rspec_multline_block.tar.gz |
Use multiline block for `before` and `after` [ci skip]rspec_multline_block
-rw-r--r-- | doc/development/testing.md | 2 |
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 |