Sha256: 0afd535ad6eb3977464122b8a344cfde9b00dca852e63171d68aad3f0a3e80de
Contents?: true
Size: 896 Bytes
Versions: 1
Compression:
Stored size: 896 Bytes
Contents
require 'spec_helper' # module Socialite # describe FacebookIdentity do # # subject { MyFacebookIdentity.new } # before { pending } # subject { FactoryGirl.build(:facebook_identity) } # it_behaves_like 'facebook api' # describe '.api_connection' do # subject { Socialite::FacebookIdentity.api_connection } # it { should be_a(Koala::Facebook::API) } # it 'defaults to not using an access token' do # subject.access_token.should be_nil # end # context 'with specified access token' do # let!(:fake_token) { '1234567890' } # subject { Socialite::FacebookIdentity.api_connection(fake_token) } # it 'does not use an access_token unless specified' do # subject.should be_a(Koala::Facebook::API) # subject.access_token.should eql(fake_token) # end # end # end # end # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
socialite-0.1.0.pre | spec/models/facebook_spec.rb |