Skip to content

Releases: rubocop/rubocop-rspec

RuboCop RSpec v1.8.0

27 Oct 18:48
Compare
Choose a tag to compare
  • Optionally ignore method names in the describe argument when running the FilePath cop. (@bquorning)
  • Fix regression in how FilePath converts alphanumeric class names into paths. (@bquorning)
  • Add ImplicitExpect cop for enforcing should vs. is_expected.to. (@backus)
  • Disable MessageExpectation cop in the default configuration. (@bquorning)

RuboCop RSpec v1.7.0

09 Oct 21:24
Compare
Choose a tag to compare
  • Add support for checking all example groups with ExampleLength. (@backus)
  • Add support for checking shared example groups for DescribedClass. (@backus)
  • Add support for checking its from rspec-its. (@backus)
  • Add EmptyExampleGroup cop for detecting describes and contexts without any tests inside. (@backus)
  • Add CustomIncludeMethods configuration option for EmptyExampleGroup. (@backus)
  • Add NestedGroups cop for detecting excessive example group nesting. (@backus)
  • Add MaxNesting configuration option for NestedGroups cop. (@backus)
  • Add ExpectActual cop for detecting literal values within expect(...). (@backus)
  • Add MultipleExpectations cop for detecting multiple expect(...) calls within one example. (@backus)
  • Add Max configuration option for MultipleExpectations. (@backus)
  • Add SubjectStub cop for testing stubbed test subjects. (@backus)
  • Add LetSetup cop for detecting cases where let! is used for test setup. (@backus)
  • Change all cops to only inspect files with names following rspec convention (*/spec/* and/or _spec.rb). (@backus)
  • Add AllCops/RSpec configuration option for specifying custom spec file patterns. (@backus)
  • Add AssignmentOnly configuration option for RSpec/InstanceVariable cop. (@backus)
  • Add BeEql cop which looks for expectations that can use be(...) instead of eql(...). (@backus)
  • Add autocorrect support for BeEql cop. (@backus)
  • Add MessageExpectation cop for enforcing consistent style of either expect(...).to receive or allow(...).to receive. (@backus)
  • Add MessageChain cop. (@bquorning)

RuboCop RSpec v1.6.0

09 Oct 21:24
3adc9f7
Compare
Choose a tag to compare
  • Add SkipBlocks option for DescribedClass cop. (@backus)

RuboCop RSpec v1.5.3

09 Oct 21:24
10220c2
Compare
Choose a tag to compare
  • Add RSpec/NamedSubject cop. (@backus)

RuboCop RSpec v1.5.2

09 Oct 21:24
69bd098
Compare
Choose a tag to compare
  • Drop support for ruby 2.0.0 and 2.1.0. (@backus)
  • Internal refactorings and improved test coverage. (@backus)

RuboCop RSpec v1.5.1

09 Oct 21:24
Compare
Choose a tag to compare
  • Fix unrecognized parameter RSpec/VerifiedDoubles:IgnoreSymbolicNames warning. (@jeffreyc)
  • Update to rubocop 0.41.2. (@backus)

RuboCop RSpec v1.5.0

09 Oct 21:24
Compare
Choose a tag to compare
  • Expand VerifiedDoubles cop to check for spy as well as double. (@andyw8)
  • Enable VerifiedDoubles cop by default. (@andyw8)
  • Add IgnoreSymbolicNames option for VerifiedDoubles cop. (@andyw8)
  • Add RSpec::ExampleLength cop. (@andyw8)
  • Handle alphanumeric class names in FilePath cop. (@andyw8)
  • Skip DescribeClass cop for view specs. (@andyw8)
  • Skip FilePath cop for Rails routing specs. (@andyw8)
  • Add cop to check for focused specs. (@renanborgescampos, @jaredmoody)
  • Clean-up RSpec::NotToNot to use same configuration semantics as other Rubocop cops, add autocorrect support for RSpec::NotToNot. (@baberthal)
  • Update to rubocop 0.40.0. (@nijikon)

RuboCop RSpec v1.4.1

03 Apr 14:41
Compare
Choose a tag to compare
  • Ignore routing specs for DescribeClass cop. (@nijikon)
  • Move rubocop dependency to runtime. (@nijikon)
  • Update to rubocop 0.39.0. (@nijikon)

RuboCop RSpec v1.4.0

15 Feb 19:51
Compare
Choose a tag to compare

RuboCop RSpec v1.3.1

04 Sep 07:15
Compare
Choose a tag to compare
  • Fix auto correction issue - syntax had changed in RuboCop v0.31
  • Add RuboCop clone to vendor folder - see #39 for details

Thanks to @bquorning