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 rrMy basic logic is to have an infinite loop running somewhere and test it as best as possible. The reason …
ruby-on-rails ruby tdd rspec rr