Skip to content

Rubocop Cop to auto-correct all *_any_instance_of spec helpers

What does this MR do?

This cop auto-correct automatically all the references in RSpec as:

  • expect_any_instance_of -> expect_next_instance_of
  • allow_any_instance_of -> allow_next_instance_of

At the moment it's disabled because I'm going to correct all the offenses in different merge requests.

Related to #34997 (closed)

Merge request reports