spec/mangopay/shared_resources.rb in mangopay-3.0.14 vs spec/mangopay/shared_resources.rb in mangopay-3.0.15

- old
+ new

@@ -190,11 +190,11 @@ # 2nd step: tokenize by payline (fills-in RegistrationData) data = { data: cardreg['PreregistrationData'], accessKeyRef: cardreg['AccessKey'], cardNumber: 4970100000000154, - cardExpirationDate: 1214, + cardExpirationDate: 1218, cardCvx: 123} res = Net::HTTP.post_form(URI(cardreg['CardRegistrationURL']), data) raise Exception, [res, res.body] unless (res.is_a?(Net::HTTPOK) && res.body.start_with?('data=')) cardreg['RegistrationData'] = res.body @@ -305,10 +305,10 @@ AuthorId: from_wallet['Owners'][0], DebitedWalletId: from_wallet['Id'], CreditedUserId: to_wallet['Owners'][0], CreditedWalletId: to_wallet['Id'], DebitedFunds: { Currency: 'EUR', Amount: amnt}, - Fees: { Currency: 'EUR', Amout: 0}, + Fees: { Currency: 'EUR', Amount: 0}, Tag: 'Test transfer' }) end end