Sha256: 185931aa9b3bcd88263c5125f4a04c67d1ba817c6209cbe4fb9a4200ad0e150b
Contents?: true
Size: 531 Bytes
Versions: 41
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require ::File.expand_path("../test_helper", __dir__) module Stripe class AccountLinkTest < Test::Unit::TestCase should "be creatable" do link = Stripe::AccountLink.create( account: "acct_123", failure_url: "https://stripe.com/failure", success_url: "https://stripe.com/success", type: "custom_account_verification" ) assert_requested :post, "#{Stripe.api_base}/v1/account_links" assert link.is_a?(Stripe::AccountLink) end end end
Version data entries
41 entries across 41 versions & 2 rubygems