From c703f33d85191d775a95f6ca1153eb4cfd66378e Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Tue, 23 Aug 2016 01:09:36 +0000 Subject: Use multiline block for `before` and `after` [ci skip] --- doc/development/testing.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/development') 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 -- cgit v1.2.1