diff options
Diffstat (limited to 'doc/development/testing_guide/best_practices.md')
-rw-r--r-- | doc/development/testing_guide/best_practices.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/development/testing_guide/best_practices.md b/doc/development/testing_guide/best_practices.md index b72d23d3f9b..ba7312b760f 100644 --- a/doc/development/testing_guide/best_practices.md +++ b/doc/development/testing_guide/best_practices.md @@ -996,11 +996,13 @@ describe "#==" do end ``` +<!-- vale gitlab.Spelling = NO --> + WARNING: -Only use simple values as input in the `where` block. Using -<!-- vale gitlab.Spelling = NO --> procs, stateful +Only use simple values as input in the `where` block. Using procs, stateful objects, FactoryBot-created objects, and similar items can lead to [unexpected results](https://github.com/tomykaira/rspec-parameterized/issues/8). + <!-- vale gitlab.Spelling = YES --> ### Prometheus tests |