[rspec-devel] mock framework

Jay Levitt lists-rspec at shopwatch.org
Thu Aug 23 07:25:22 EDT 2007


On 8/22/2007 7:30 PM, Ian Dees wrote:
> Quoth David:
> 
>> The problem w/ mixing mocking frameworks is that some of them (namely
>> rspec and mocha) add methods to Object, and they use similar methods
>> (like mock()) to create mocks. So you can only safely have one mock
>> framework PER PROCESS, not per file.
> 
> Is the FreakyFreaky Sandbox usable/stable enough to deal with this possibility?
> 
> http://code.whytheluckystiff.net/sandbox

Looks like, until 1.9, that needs a patch to Ruby. :(

Jay



More information about the rspec-devel mailing list