Displaying 1 result from an estimated 1 matches for "non_mocked_return".
2007 Jun 21
2
expects with returns that returns the return value of the actual method
...quot;1"
member.expiration_date = "9/19/2007"
member.payment_method = "bogus"
member.first_name = "Steve"
member.last_name = "Eichert"
member.expects(:active_merchant_gateway).returns(gateway)
# gateway.expects(:purchase).returns(:non_mocked_return)
member.charge
assert member.paid
end