require File.expand_path(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