Sha256: 2d9e2dd5fc5ddf31568bde1599c47620bb39bb5db33627371fc39d225c30d88a

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require 'helper'

class TestTwitter < Test::Unit::TestCase
  def setup
    @client = Whatser::Client.new(:oauth_token => '1234')
  end
  
  def test_key
    assert_equal 'twitter', Whatser::Twitter.new.key
  end

  def test_connection_url
    expected = "#{@client.api_uri}/oauth/services/twitter/authorize"
    assert_equal expected, @client.twitter.connection_url
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whatser-0.3.1 test/test_twitter.rb
whatser-0.3.0 test/test_twitter.rb