Sha256: edd3a1ca83aec979fa4009920bc8a3c7d98ed85f403ab6bd70a46f3105aab513

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

require './test/test_base.rb'

require 'faraday'
require 'oauth2'

class MediumSdkSetupTokenTest < Test::Unit::TestCase
  def setup
    @token = 'deadbeef'
    @sdk = MediumSdk.new integration_token: @token
  end

  def test_main
    assert_equal 'deadbeef', @sdk.connection.token
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
medium_sdk-0.0.3 test/test_setup_token.rb
medium_sdk-0.0.2 test/test_setup_token.rb