Guide25.2K views2,292 votes0 replies4,663 following
Choosing Verifying Doubles in RSpec to Catch Interface Drift Early
Learn why instance_double, class_double and object_double are safer than plain double(), how they validate method existence and signatures, and where their limits lie.