[rspec-users] 2nd attempt at mocking and stubbing
Jonathan Linowes
jonathan at parkerhill.com
Fri Sep 5 18:22:18 EDT 2008
On Sep 5, 2008, at 5:44 PM, Nick Hoffman wrote:
> Property.stub!(:find).and_return mock_property1, mock_property2
try
Property.stub!(:find).and_return( [mock_property1, mock_property2] )
____________________________________________________________
Want to help others? Become a certified physical therapist. Click now.
http://thirdpartyoffers.netzero.net/TGL2241/fc/Ioyw6i4vHJTUahrDj893hIpJrosoTWmfqTn2L5VZAiHpeGUCV1fp6d/
More information about the rspec-users
mailing list