test/test_facebook.rb in whatser-0.2.0 vs test/test_facebook.rb in whatser-0.3.0

- old
+ new

@@ -1,7 +1,16 @@ 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 \ No newline at end of file