spec/paypal/payment/request_spec.rb in paypal-express-0.0.8 vs spec/paypal/payment/request_spec.rb in paypal-express-0.0.9

- old
+ new

@@ -43,12 +43,14 @@ instant_request.to_params.should == { :PAYMENTREQUEST_0_AMT => "10.00", :PAYMENTREQUEST_0_CURRENCYCODE => :JPY, :PAYMENTREQUEST_0_DESC => "Instant Payment Request", :PAYMENTREQUEST_0_NOTIFYURL => "http://merchant.example.com/notify", + :PAYMENTREQUEST_0_ITEMAMT => "10.00", :L_PAYMENTREQUEST_0_NAME0 => "Item1", :L_PAYMENTREQUEST_0_DESC0 => "Awesome Item!", - :L_PAYMENTREQUEST_0_AMT0 => "10.00" + :L_PAYMENTREQUEST_0_AMT0 => "10.00", + :L_PAYMENTREQUEST_0_QTY0 => 1 } end it 'should handle Recurring Payment parameters' do recurring_request.to_params.should == { \ No newline at end of file