Skip to content

RuboCop RSpec v2.13.0

Compare
Choose a tag to compare
@bquorning bquorning released this 12 Sep 13:34
· 770 commits to master since this release
dbc1f77
  • Fix RSpec/FilePath cop missing mismatched expanded namespace. (@sl4vr)
  • Add new AllowConsecutiveOneLiners (default true) option for Rspec/EmptyLineAfterHook cop. (@ngouy)
  • Add autocorrect support for RSpec/EmptyExampleGroup. (@r7kamura)
  • Fix RSpec/ChangeByZero with compound expressions using & or | operators. (@BrianHawley)
  • Add RSpec/NoExpectationExample. (@r7kamura)
  • Add some expectation methods to default configuration. (@r7kamura)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher. (@ydah)
  • Fix a false negative for RSpec/Capybara/SpecificMatcher for have_field. (@ydah)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when may not have a href by have_link. (@ydah)
  • Add NegatedMatcher configuration option to RSpec/ChangeByZero. (@ydah)
  • Add new RSpec/Capybara/SpecificFinders cop. (@ydah)
  • Add support for numblocks to RSpec/AroundBlock, RSpec/EmptyLineAfterHook, RSpec/ExpectInHook, RSpec/HookArgument, RSpec/HooksBeforeExamples, RSpec/IteratedExpectation, and RSpec/NoExpectationExample. (@ydah)
  • Fix incorrect documentation URLs when using rubocop --show-docs-url. (@r7kamura)
  • Add AllowedGroups configuration option to RSpec/NestedGroups. (@ydah)
  • Deprecate IgnoredPatterns option in favor of the AllowedPatterns options. (@ydah)
  • Add AllowedPatterns configuration option to RSpec/ContextWording. (@ydah)
  • Add RSpec/ClassCheck cop. (@r7kamura)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when pseudo-classes. (@ydah)
  • Fix a false negative for RSpec/SubjectStub when the subject is declared with the subject! method and called by name. (@eikes)
  • Support Array.new(n) on RSpec/FactoryBot/CreateList cop. (@r7kamura)