# Offense: Capybara/SpecificMatcher
have_css("input[name='post_author_attributes__first_name_']")
# No offenses: name with multiple `[]`
have_css("input[name='post[author_attributes][first_name]']")
Before submitting the PR make sure the following are checked:
[x] Feature branch is up-to-date with main (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[-] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).
partially fixed: https://github.com/rubocop/rubocop-capybara/issues/78
following case:
Before submitting the PR make sure the following are checked:
main
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).