On Fri, Apr 29, 2011 at 10:05 PM, Rodrigo Rosenfeld Rosas
lboc...@yahoo.com.br wrote:
Em 29-04-2011 13:15, David Kahn escreveu:
On Thu, Apr 28, 2011 at 8:03 PM, Pat Maddox patmad...@me.com wrote:
On Apr 28, 2011, at 4:37 PM, David Kahn wrote:
I am a bit new to mocking. I am trying to
On Thu, Apr 28, 2011 at 8:03 PM, Pat Maddox patmad...@me.com wrote:
On Apr 28, 2011, at 4:37 PM, David Kahn wrote:
I am a bit new to mocking. I am trying to stub the
ActiveMerchant::Billing::PaypalGateway#authorize method but not clear how to
do it. This is my code and spec.
This is the
Em 29-04-2011 13:15, David Kahn escreveu:
On Thu, Apr 28, 2011 at 8:03 PM, Pat Maddox patmad...@me.com
mailto:patmad...@me.com wrote:
On Apr 28, 2011, at 4:37 PM, David Kahn wrote:
I am a bit new to mocking. I am trying to stub the
I am a bit new to mocking. I am trying to stub the
ActiveMerchant::Billing::PaypalGateway#authorize method but not clear how to
do it. This is my code and spec.
This is the pertinent code:
module Payment
def gateway
ActiveMerchant::Billing::PaypalGateway.new(
...
)
end
def
On Apr 28, 2011, at 4:37 PM, David Kahn wrote:
I am a bit new to mocking. I am trying to stub the
ActiveMerchant::Billing::PaypalGateway#authorize method but not clear how to
do it. This is my code and spec.
This is the pertinent code:
module Payment
def gateway