[Backgroundrb-devel] MiddleMan and RSpec partial mocks
I''m trying to test with RSpec (0.7.5), and I have the following code:
MiddleMan.should_receive(:new_worker)
Every time I run this code, I get this error:
undefined method `new_worker'' for class `DRb::DRbObject''
How do I get around this?