Skip to content
#

rspec

Here are 1,449 public repositories matching this topic...

bquorning
bquorning commented Mar 23, 2021

I'm seeing double/instance_double/class_double/object_double/spy etc. being called with sometimes a string, sometimes a symbol (perhaps because the rspec-mocks documentation explicitly allows both), and of course sometimes a constant referring to a class or module.

I think mixing string and symbol arguments is a bit of a mess, so I would propose making a new cop that enforces either one or the

Improve this page

Add a description, image, and links to the rspec topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rspec topic, visit your repo's landing page and select "manage topics."

Learn more