RR (Double Ruby) is a test double framework that features a rich selection of double techniques and a terse syntax.
I try to write a test using RR. What I need is a stub of a model object. describe ApplicationController …
ruby unit-testing testing stub rrSo I've got some code that, grossly simplified, looks like this: class B def initialize opts @opts = opts end end …
ruby constructor rspec stubbing rr