test/razorpay/test_transfer.rb in razorpay-3.0.1 vs test/razorpay/test_transfer.rb in razorpay-3.1.0
- old
+ new
@@ -43,10 +43,10 @@
assert_equal transfer.id, @transfer_id , 'Transfer transfer_id is accessible'
assert transfer.on_hold
end
def test_transfer_fetch_settlement_details
- stub_get("#{BASE_URI}transfers/?expand[]=recipient_settlement", 'transfers_collection')
+ stub_get("#{BASE_URI}/v1/transfers/?expand[]=recipient_settlement", 'transfers_collection')
transfer = Razorpay::Transfer.fetch_settlements
assert_instance_of Razorpay::Collection, transfer , 'Transfer should be an array'
refute_empty transfer.items , 'Transfer should be more than one'
end