Deleted User
Not a member
Deleted User's latest activity
Monday, August 09 2010
69
Allow unstubbing of methods
was updated
in mocha
-
Deleted User commented at 4:58 PM- I should mention that I was not able (with almost no effort) to
implement unstub_any
- I would expect both to revert
- Dunno
- My expectation would be that the momen...
- I should mention that I was not able (with almost no effort) to
implement unstub_any
68
during block for mocha
was updated
in mocha
-
Deleted User commented at 4:51 PMI agree that this is a better solution. With a solid #unstub in place, #during becomes trivial to write.
The reason I suggested #during is specifically because ...
Thursday, July 29 2010
68
during block for mocha
was updated
in mocha
-
Deleted User commented at 5:35 AMduring seems like a reasonable and simple solution to the general problem that is:
"it is hard to unstub"then is a fine solution if you're not worried about "t...
Wednesday, July 28 2010
68
during block for mocha
was updated
in mocha
-
Deleted User commented at 4:42 PMRight - so the only reason (IMHO) that timecop exists is because these few lines of code are missing from Mocha. Why perpetuate the need for yet another gem?
Ot...
Tuesday, July 27 2010
68
during block for mocha
was updated
in mocha
-
Deleted User commented at 5:45 PMI use this in rspec tests, mostly. It's also useful if you want to have part of a test say that "now" is 2 weeks ago, then 1 week ago, then really now.
As for t...