From: Joe Van Dyk Date: 2006-10-21T07:54:13+09:00 Subject: Using Mocha to mock an object Hi, I have: class Order def self.export_unshipped_orders # returns a string end end I want to use Mocha (http://mocha.rubyforge.org/) to fake the return of Order.export_unshipped_orders. How can I do that? Thanks, Joe