Skip to content

Commit

Permalink
Fix Stripe.PaymentIntent request assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenvanvliet committed May 4, 2019
1 parent 08cfa30 commit 45d85d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/stripe/core_resources/payment_intent_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ defmodule Stripe.PaymentIntentTest do
test "is captureable" do
{:ok, %Stripe.PaymentIntent{} = payment_intent} = Stripe.PaymentIntent.retrieve("pi_123", %{})

assert_stripe_requested(:get, "/v1/payment_intents/pi_123")

assert {:ok, %Stripe.PaymentIntent{}} =
Stripe.PaymentIntent.capture(payment_intent, %{amount_to_capture: 1000})

Expand Down

0 comments on commit 45d85d3

Please sign in to comment.