Skip to content

RuboCop RSpec v1.9.0

Compare
Choose a tag to compare
@bquorning bquorning released this 29 Dec 21:31
· 2366 commits to master since this release
  • Add MessageSpies cop for enforcing consistent style of either expect(...).to have_received or expect(...).to receive, intended as a replacement for the MessageExpectation cop. (@bquorning)
  • Fix DescribeClass to not flag describe at the top of a block of shared examples. (@clupprich)
  • Add SingleArgumentMessageChain cop for recommending use of receive instead of receive_message_chain where possible. (@bquorning)
  • Add RepeatedDescription cop for detecting repeated example descriptions within example groups. (@backus)