[Backgroundrb-devel] MiddleMan and RSpec partial mocks

Bryan Liles bryan at osesm.com
Wed Dec 27 12:43:14 EST 2006


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?




More information about the Backgroundrb-devel mailing list