Sha256: 37a50b21eb39cd43a2e2047df5e2c346ba101b83e8018df9909ac764cfb0b6c1
Contents?: true
Size: 520 Bytes
Versions: 15
Compression:
Stored size: 520 Bytes
Contents
require File.expand_path("../../test_helper", __FILE__) module Stripe class AccountLoginLinksOperationsTest < Test::Unit::TestCase setup do @account_id = "acct_123" end context "#create_login_link" do should "create a login link" do login_link = Stripe::Account.create_login_link( @account_id ) assert_requested :post, "#{Stripe.api_base}/v1/accounts/#{@account_id}/login_links" assert login_link.is_a?(Stripe::LoginLink) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems