Sha256: 2ddd81d6bb0367986ef97a8fba6a3e8137a0408e9f4f45e340fdbecfa3f9139e

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)
require 'oauth/token'

class TestToken < Minitest::Test

  def setup
  end

  def test_token_constructor_produces_valid_token
    token = OAuth::Token.new('xyz', '123')
    assert_equal 'xyz', token.token
    assert_equal '123', token.secret
  end
end

Version data entries

5 entries across 4 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/oauth-0.5.1/test/test_token.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/oauth-0.5.1/test/test_token.rb
tdiary-5.0.4 vendor/bundle/gems/oauth-0.5.1/test/test_token.rb
oauth-0.5.1 test/test_token.rb
oauth-0.5.0 test/test_token.rb