Sha256: 3c4aa698fe83a84cabbf729f908bb62757bf91d08b60a5fb56a7919dd59578af
Contents?: true
Size: 611 Bytes
Versions: 1
Compression:
Stored size: 611 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) class TestBasic < FacebookSDK::TestCase # def setup # end # def teardown # end def test_get_facebook_platform fb = FacebookSDK::Session.new do |config| end p = fb.api '/19292868552' assert_equal "Facebook Platform", p.name assert_equal "http://developers.facebook.com", p.website end def test_exception_without_access_token fb = FacebookSDK::Session.new do |config| end assert_raise FacebookSDK::ApiException do p = fb.api '/me' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebook_sdk-0.0.2 | test/test_basic.rb |