RR (Double Ruby) is a test double framework that features a rich selection of double techniques and a terse syntax.
Questions tagged [rr]
32 questions
0
votes
0 answers
Rspec: should_receive on an instance class
Here is what I am trying to do:
before(:each) do
@user = Factory.build(:user)
@user.stub!(:must_not_be_in_somewhere).and_return(true)
end
it "should send a email if we are 2 weeks from last email" do
…

Gregory
- 557
- 6
- 17