Sha256: f465d571e81989d5f6c0ce6edd348972fd21ac203613f5c9c669f275c270eb1b

Contents?: true

Size: 325 Bytes

Versions: 59

Compression:

Stored size: 325 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper.rb'
require 'oauth/token'

class TestToken < Test::Unit::TestCase

  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

59 entries across 59 versions & 17 rubygems

Version Path
greut-oauth-0.3.6 test/test_token.rb
jwhitmire-oauth-0.3.6.1 test/test_token.rb
metavida-oauth-0.3.2.1 test/test_token.rb
metavida-oauth-0.3.2 test/test_token.rb
mojodna-oauth-0.3.1.1 test/test_token.rb
mojodna-oauth-0.3.1.2 test/test_token.rb
mojodna-oauth-0.3.1.3 test/test_token.rb
mojodna-oauth-0.3.1.4 test/test_token.rb
mojodna-oauth-0.3.1.5 test/test_token.rb
mojodna-oauth-0.3.1.6 test/test_token.rb
mojodna-oauth-0.3.1.7 test/test_token.rb
mojodna-oauth-0.3.1.8 test/test_token.rb
mojodna-oauth-0.3.2.1 test/test_token.rb
mojodna-oauth-0.3.2.2 test/test_token.rb
mojodna-oauth-0.3.2 test/test_token.rb
mojodna-oauth-0.3.3 test/test_token.rb
mojodna-oauth-0.3.4.1 test/test_token.rb
mojodna-oauth-0.3.4 test/test_token.rb
mojodna-oauth-0.3.5 test/test_token.rb
mojodna-oauth-0.3.6 test/test_token.rb