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

Version Path
stripe-3.14.0 test/stripe/account_login_links_operations_test.rb
stripe-3.13.1 test/stripe/account_login_links_operations_test.rb
stripe-3.13.0 test/stripe/account_login_links_operations_test.rb
stripe-3.12.1 test/stripe/account_login_links_operations_test.rb
stripe-3.12.0 test/stripe/account_login_links_operations_test.rb
stripe-3.11.0 test/stripe/account_login_links_operations_test.rb
stripe-3.10.0 test/stripe/account_login_links_operations_test.rb
stripe-3.9.2 test/stripe/account_login_links_operations_test.rb
stripe-3.9.1 test/stripe/account_login_links_operations_test.rb
stripe-3.9.0 test/stripe/account_login_links_operations_test.rb
stripe-3.8.2 test/stripe/account_login_links_operations_test.rb
stripe-3.8.1 test/stripe/account_login_links_operations_test.rb
stripe-3.8.0 test/stripe/account_login_links_operations_test.rb
stripe-3.7.0 test/stripe/account_login_links_operations_test.rb
stripe-3.6.0 test/stripe/account_login_links_operations_test.rb