config/default.yml in rubocop-capybara-2.17.0 vs config/default.yml in rubocop-capybara-2.17.1
- old
+ new
@@ -4,10 +4,12 @@
DocumentationBaseURL: https://docs.rubocop.org/rubocop-capybara
Include:
- "**/*_spec.rb"
- "**/spec/**/*"
- "**/test/**/*"
+ - "**/*_steps.rb"
+ - "**/features/step_definitions/**/*"
Capybara/CurrentPathExpectation:
Description: Checks that no expectations are set on Capybara's `current_path`.
Enabled: true
VersionAdded: '1.18'
@@ -15,10 +17,10 @@
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/CurrentPathExpectation
Capybara/MatchStyle:
Description: Checks for usage of deprecated style methods.
Enabled: pending
- VersionAdded: "<<next>>"
+ VersionAdded: '2.17'
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/MatchStyle
Capybara/NegationMatcher:
Description: Enforces use of `have_no_*` or `not_to` for negated expectations.
Enabled: pending