diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-25 16:46:29 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-25 16:46:29 +0000 |
commit | c04f85a3338c415bde094a04d0d027bcd396dfdf (patch) | |
tree | 3c4035fb6daca7fd0f57ec7436c55f6bd4ba6a38 /doc | |
parent | f68f837d87de8f2d90a7f6f5ab835cfadfb901d9 (diff) | |
parent | 75739e54be0fca389c05d3d9d3de69737c0ff3ab (diff) | |
download | gitlab-ce-c04f85a3338c415bde094a04d0d027bcd396dfdf.tar.gz |
Merge branch 'rs-rubocop-nottonot' into 'master'
Enable RSpec/NotToNot cop and auto-correct offenses
Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17761
See merge request !4267
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md index 33eed29ba5c..513457d203a 100644 --- a/doc/development/testing.md +++ b/doc/development/testing.md @@ -65,7 +65,7 @@ the command line via `bundle exec teaspoon`, or via a web browser at - Use `context` to test branching logic. - Don't `describe` symbols (see [Gotchas](gotchas.md#dont-describe-symbols)). - Don't supply the `:each` argument to hooks since it's the default. -- Prefer `not_to` to `to_not`. +- Prefer `not_to` to `to_not` (_this is enforced by Rubocop_). - 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. |