Skip to content

RuboCop RSpec v1.0

Compare
Choose a tag to compare
@geniou geniou released this 16 Jun 05:17
· 2763 commits to master since this release

This is the abstract of the changes since 0.18.1

  • Update code to work with RuboCop ~> 0.23.
  • Split UnitSpecNaming cop into DescribeClass, DescribeMethod and FileName and enabled them all by default.
  • Gem is no longer 20MB.
  • Add ExampleWording cop to prevent to use of should at the beginning of the spec description.
  • Add MultipleDescribes cop to check for multiple top level describes.
  • Add DescribedClass cop to promote the use of described_class.
  • Add InstanceVariable cop to check for the usage of instance variables.