Sha256: 129412ed3db90b8647cf0cb63dd38ef382fad985b9162dc4d7039bd6790f55a2
Contents?: true
Size: 519 Bytes
Versions: 16
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true require ::File.expand_path("../../test_helper", __dir__) module Stripe module BillingPortal class SessionTest < Test::Unit::TestCase should "be creatable" do session = Stripe::BillingPortal::Session.create( customer: "cus_123", return_url: "https://stripe.com/return" ) assert_requested :post, "#{Stripe.api_base}/v1/billing_portal/sessions" assert session.is_a?(Stripe::BillingPortal::Session) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems