mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
17 lines
462 B
Ruby
17 lines
462 B
Ruby
# frozen_string_literal: true
|
|
|
|
require ::File.expand_path("../../../test_helper", __FILE__)
|
|
|
|
module Stripe
|
|
module Terminal
|
|
class ConnectionTokenTest < Test::Unit::TestCase
|
|
should "be creatable" do
|
|
connection_token = Stripe::Terminal::ConnectionToken.create
|
|
|
|
assert_requested :post, "#{Stripe.api_base}/v1/terminal/connection_tokens"
|
|
assert connection_token.is_a?(Stripe::Terminal::ConnectionToken)
|
|
end
|
|
end
|
|
end
|
|
end
|