rubocop-rspec 2.13.1 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +405 -379
  3. data/CODE_OF_CONDUCT.md +4 -4
  4. data/MIT-LICENSE.md +1 -2
  5. data/config/default.yml +65 -4
  6. data/lib/rubocop/cop/rspec/capybara/negation_matcher.rb +106 -0
  7. data/lib/rubocop/cop/rspec/capybara/specific_actions.rb +85 -0
  8. data/lib/rubocop/cop/rspec/capybara/specific_finders.rb +9 -2
  9. data/lib/rubocop/cop/rspec/capybara/specific_matcher.rb +5 -82
  10. data/lib/rubocop/cop/rspec/capybara/visibility_matcher.rb +14 -14
  11. data/lib/rubocop/cop/rspec/change_by_zero.rb +1 -1
  12. data/lib/rubocop/cop/rspec/context_wording.rb +4 -2
  13. data/lib/rubocop/cop/rspec/example_wording.rb +32 -0
  14. data/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb +99 -0
  15. data/lib/rubocop/cop/rspec/factory_bot/create_list.rb +2 -2
  16. data/lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb +1 -19
  17. data/lib/rubocop/cop/rspec/implicit_subject.rb +86 -19
  18. data/lib/rubocop/cop/rspec/let_before_examples.rb +15 -1
  19. data/lib/rubocop/cop/rspec/mixin/capybara_help.rb +80 -0
  20. data/lib/rubocop/cop/rspec/mixin/css_selector.rb +48 -1
  21. data/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb +23 -0
  22. data/lib/rubocop/cop/rspec/no_expectation_example.rb +47 -6
  23. data/lib/rubocop/cop/rspec/pending.rb +2 -11
  24. data/lib/rubocop/cop/rspec/rails/inferred_spec_type.rb +135 -0
  25. data/lib/rubocop/cop/rspec/repeated_include_example.rb +1 -1
  26. data/lib/rubocop/cop/rspec/sort_metadata.rb +102 -0
  27. data/lib/rubocop/cop/rspec/subject_declaration.rb +1 -1
  28. data/lib/rubocop/cop/rspec_cops.rb +5 -0
  29. data/lib/rubocop/rspec/factory_bot/language.rb +20 -0
  30. data/lib/rubocop/rspec/version.rb +1 -1
  31. data/lib/rubocop-rspec.rb +2 -0
  32. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beb4503a6d6d420e50748e9fd6c679a2968888d783293c33da2dbaf6d7a9fc3f
4
- data.tar.gz: 4dff5e6a61c80d1acc943169efdb65a24fa5dd05654bf758c4f6b291aedad63c
3
+ metadata.gz: 6fdb82e2eec960744c6f4960acada2a37cb2fb1bc3a1159b2fc444795c11448e
4
+ data.tar.gz: 8d5945bf3e9e839b84067fc38c68663b9b43394ee467421b152385cb5d0c111e
5
5
  SHA512:
6
- metadata.gz: 7937a46e61db588b4b9354ec362af79585526e7d95a7bc735435ace552b44e354f32e8f10310460059b71870a1caf8617414edd663cf8b50e9f13405977123a4
7
- data.tar.gz: 7c4a57c7635e827717d10f253233837e7b9c11c5769fd4d9aab7c7c110d808f83c6099663684237c499432f606891b7a8aa9142c302e09ad5e73391b70f29a8e
6
+ metadata.gz: 320019459649ac0cb26c13496564af8c5c442caaa3a9e2bbee7959954a8ee6fd17cfcd70d0031012197db01e6b32b38b27fe9ab634d0b69a771884753500a244
7
+ data.tar.gz: cfa3023ab42ef3ce54160a11d5fcbdd02c6106ef52a631e2fd301b644b9659f0202224f03ac54061fe5135e8905c758b9ae4c790d1d527ff0fb28e020bda046a