Skip to content

Commit

Permalink
Add test for partial capture request
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed Sep 27, 2023
1 parent b57e07c commit 03cee47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/omise/test_charge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03cee47

Please sign in to comment.