Skip to content

Releases: rubocop/rubocop-rspec

RuboCop RSpec v1.23.0

23 Feb 13:20
57dd28d
Compare
Choose a tag to compare
  • 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

01 Feb 12:28
b1fdad4
Compare
Choose a tag to compare
  • Fix error in RSpec/DescribedClass when working on an empty describe block. (@bquorning)

RuboCop RSpec v1.22.1

17 Jan 07:38
ba8be9b
Compare
Choose a tag to compare
  • Fix false positives in RSpec/ReturnFromStub. (@Darhazer)

RuboCop RSpec v1.22.0

10 Jan 10:34
beee3e0
Compare
Choose a tag to compare
  • 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

13 Dec 13:29
b81f082
Compare
Choose a tag to compare
  • Compatibility with RuboCop v0.52.0. (@bquorning)
  • Improve performance when user does not override default RSpec Pattern config. (@walf443)
  • Add AggregateFailuresByDefault configuration for RSpec/MultipleExpectations cop. (@onk)

RuboCop RSpec v1.20.1

15 Nov 10:55
92f1f59
Compare
Choose a tag to compare
  • Add "without" to list of default allowed prefixes for RSpec/ContextWording. (@bquorning)

RuboCop RSpec v1.20.0

09 Nov 11:24
8762dcf
Compare
Choose a tag to compare
  • Rename namespace FactoryGirl to FactoryBot 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

23 Oct 08:28
Compare
Choose a tag to compare

Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.

RuboCop RSpec v1.18.0

29 Sep 08:29
Compare
Choose a tag to compare
  • Fix false positive in Capybara/FeatureMethods. (@Darhazer)
  • Add RSpec/Capybara/CurrentPathExpectation cop for feature specs, disallowing setting expectations on current_path. (@timrogers)
  • Fix false positive in RSpec/LetBeforeExamples cop when example group contains single let. (@Darhazer)

RuboCop RSpec v1.17.1

20 Sep 08:37
Compare
Choose a tag to compare
  • Improved RSpec/ReturnFromStub to handle string interpolation, hashes and do..end blocks. (@Darhazer)
  • Fixed compatibility with JRuby. (@zverok)