test/test_facebook.rb in whatser-0.3.1 vs test/test_facebook.rb in whatser-0.3.2

- old
+ new

@@ -8,9 +8,13 @@ def test_key assert_equal 'facebook', Whatser::Facebook.new.key end def test_connection_url - expected = "#{@client.api_uri}/oauth/services/facebook/authorize" + expected = "#{@client.api_uri}/oauth/services/facebook/authorize?redirect_uri=&client_id=" assert_equal expected, @client.facebook.connection_url end + + def test_get_friends + assert @client.facebook.get_friends(:opt => 'test').is_a?(Whatser::Response) + end end \ No newline at end of file