• Arturo Herrero's avatar
    Rubocop Cop to auto-correct all *_any_instance_of spec helpers · 6f9ec100
    Arturo Herrero authored
    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.
    6f9ec100
snippets_controller_spec.rb 19.2 KB