Displaying 1 result from an estimated 1 matches for "warn_when".
2008 Jan 21
4
stubs! method
Hello James et al.
I try to set only one expectation per test, but I also dislike having
extra stub declarations that are no longer used, thus I often find
myself wanting Object.expects(:foo).at_least_once. That works, but I
don''t actually "expect" foo to be called, in fact, I don''t care, I
only want to know when it isn''t called so I can remember to