Releases: rubocop/rubocop-rspec
Releases · rubocop/rubocop-rspec
RuboCop RSpec v1.23.0
- Add
RSpec/Rails/HttpStatus
cop to enforce consistent usage of the status format (numeric or symbolic). (@anthony-robin, @jojos003) - Fix false negative in
RSpec/ReturnFromStub
when a constant is being returned by the stub. (@Darhazer) - Fix
FactoryBot/DynamicAttributeDefinedStatically
to handle dynamic attributes inside arrays/hashes. (@abrom) - Add
FactoryBot/StaticAttributeDefinedDynamically
(based on dynamic attribute cop). (@abrom)
RuboCop RSpec v1.22.2
- Fix error in
RSpec/DescribedClass
when working on an emptydescribe
block. (@bquorning)
RuboCop RSpec v1.22.1
- Fix false positives in
RSpec/ReturnFromStub
. (@Darhazer)
RuboCop RSpec v1.22.0
- Updates
describe_class
to account for RSpecs:system
wrapper of rails system tests. (@EliseFitz15) - Add
RSpec/ExpectChange
cop to enforce consistent usage of the change matcher. (@Darhazer) - Add autocorrect support to
RSpec/LetBeforeExamples
. (@Darhazer) - Fix
RSpec/InstanceVariable
flagging instance variables inside dynamically defined class. (@Darhazer) - Add autocorrect support for
RSpec/ReturnFromStub
cop. (@bquorning) - Add
RSpec/ExampleWithoutDescription
cop. (@Darhazer)
RuboCop RSpec v1.21.0
- Compatibility with RuboCop v0.52.0. (@bquorning)
- Improve performance when user does not override default RSpec Pattern config. (@walf443)
- Add
AggregateFailuresByDefault
configuration forRSpec/MultipleExpectations
cop. (@onk)
RuboCop RSpec v1.20.1
- Add "without" to list of default allowed prefixes for
RSpec/ContextWording
. (@bquorning)
RuboCop RSpec v1.20.0
- Rename namespace
FactoryGirl
toFactoryBot
following original library update. (@walf443) - Fix exception in
RSpec/ReturnFromStub
on empty block. (@yevhene) - Add
RSpec/ContextWording
cop. (@pirj, @telmofcosta) - Fix
RSpec/SubjectStub
cop matches receive message inside all matcher. (@walf443)
RuboCop RSpec v1.19.0
Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
RuboCop RSpec v1.18.0
- Fix false positive in
Capybara/FeatureMethods
. (@Darhazer) - Add
RSpec/Capybara/CurrentPathExpectation
cop for feature specs, disallowing setting expectations oncurrent_path
. (@timrogers) - Fix false positive in
RSpec/LetBeforeExamples
cop when example group contains single let. (@Darhazer)