Sha256: ad74579317efbbe05546cf7a106e0d50eec6ff41e0258453a224435a3313926f

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

require 'helper'

class TestFacebook < Test::Unit::TestCase
  def setup
    @client = Whatser::Client.new(:oauth_token => '1234')
  end
  
  def test_key
    assert_equal 'facebook', Whatser::Facebook.new.key
  end
  
  def test_connection_url
    expected = "#{@client.api_uri}/oauth/services/facebook/authorize"
    assert_equal expected, @client.facebook.connection_url
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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