Releases: rubocop/rubocop-rspec
Releases · rubocop/rubocop-rspec
RuboCop RSpec v3.0.0.pre
- Remove extracted cops in
Capybara
,FactoryBot
andRails
departments. (@ydah) - Remove
RuboCop::RSpec::Language::NodePattern
. (@ydah) - Remove
RSpec/FilePath
cop. (@ydah) - Remove
RSpec/Capybara/FeatureMethods
cop. If you are using this cop, change it to useRSpec/Dialect
. (@ydah) - Enable all pending cops. (@bquorning)
- Add new
RSpec/MissingExpectationTargetMethod
cop. (@krororo) - Fix an error for
RSpec/ScatteredSetup
when one of the hooks is an empty block. (@earlopain)
Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html
RuboCop RSpec v2.31.0
- Support
AutoCorrect: contextual
option for LSP. (@ydah)
RuboCop RSpec v2.30.0
- Add new
RSpec/ExpectInLet
cop. (@yasu551)
RuboCop RSpec v2.29.2
RuboCop RSpec v2.29.1
- Fix an error in the default configuration. (@ydah)
RuboCop RSpec v2.29.0
- Fix an autocorrect error for
RSpec/ExpectActual
. (@bquorning) - Add new
RSpec/UndescriptiveLiteralsDescription
cop. (@ydah) - Add new
RSpec/EmptyOutput
cop. (@bquorning)
RuboCop RSpec v2.28.0
- Extract RSpec Rails cops to a separate repository,
rubocop-rspec_rails
. Therubocop-rspec_rails
repository is a dependency ofrubocop-rspec
and the cops related to rspec-rails are aliased (RSpec/Rails/Foo
==RSpecRails/Foo
) until v3.0 is released, so the change will be invisible to users until then. (@ydah)
RuboCop RSpec v2.27.1
RuboCop RSpec v2.27.0
- Add new
RSpec/IsExpectedSpecify
cop. (@ydah) - Add new
RSpec/RepeatedSubjectCall
cop. (@drcapulet) - Add support for
assert_true
,assert_false
,assert_not_equal
,assert_not_nil
,*_empty
,*_predicate
,*_kind_of
,*_in_delta
,*_match
,*_instance_of
and*_includes
assertions inRSpec/Rails/MinitestAssertions
. (@ydah, @G-Rath) - Support asserts with messages in
Rspec/BeEmpty
. (@G-Rath) - Fix a false positive for
RSpec/ExpectActual
when used with rspec-rails routing matchers. (@naveg) - Add configuration option
ResponseMethods
toRSpec/Rails/HaveHttpStatus
. (@ydah) - Fix a false negative for
RSpec/DescribedClass
when class with constant. (@ydah) - Fix a false positive for
RSpec/ExampleWithoutDescription
whenspecify
with multi-line block and missing description. (@ydah) - Fix an incorrect autocorrect for
RSpec/ChangeByZero
when compound expectations with line break before.by(0)
. (@ydah)
RuboCop RSpec v2.26.1
- Fix an error for
RSpec/SharedExamples
when using examples without argument. (@ydah)