Remove outdated Capybara have_no recommendation (now enforced by rubocop in https://github.com/openfoodfoundation/openfoodnetwork/pull/12224)

David Cook
2024-03-04 12:40:15 +11:00
parent 66e518cb41
commit 6f404e77b6

@@ -33,9 +33,6 @@ When you have to insert an arbitrary Ruby string to a Javascript or Angular expr
# Tests
### Prefer `to have_not` as a feature matcher style (instead of `to_not have`)
Reference: Capybara finders section of [this blog post](https://blog.codeship.com/faster-rails-tests/) for more details.
### Prefer plain text over method calls in expected values
For example, when asserting text that is translatable, use plain text instead of the `I18n.t` call.