From 03cee475d50cce4f5d167a57b998cea86efb5d4f Mon Sep 17 00:00:00 2001 From: AnasNaouchi Date: Wed, 27 Sep 2023 11:37:17 +0700 Subject: [PATCH] Add test for partial capture request --- test/omise/test_charge.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/omise/test_charge.rb b/test/omise/test_charge.rb index 60d5a74..58c4c78 100644 --- a/test/omise/test_charge.rb +++ b/test/omise/test_charge.rb @@ -128,6 +128,10 @@ def test_that_we_can_send_a_capture_request assert @charge.capture end + def test_that_we_can_send_a_capture_request_with_parameters + assert @charge.capture({capture_amount:3000}) + end + def test_that_we_can_send_a_reverse_request assert @charge.reverse end