You should be able to use the anything parameter matcher to do what you want (http://mocha.rubyforge.org/classes/Mocha/ParameterMatchers.html#M000009). i.e. member.expects(:purchase).with(1000, anything).returns(TestResponse.new ) -- James. http://blog.floehopper.org