Sha256: 598fb41207a82543955f2f24a69808d02b3459c1058af5c1b912cd2bfb5bd71c
Contents?: true
Size: 614 Bytes
Versions: 37
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' describe FbGraph2::Edge::InvitableFriends do context 'included in User' do describe '#invitable_friends' do let(:me) { FbGraph2::User.me('token') } it 'should return an Array of FbGraph2::Struct::Friend' do users = mock_graph :get, 'me/invitable_friends', 'user/invitable_friends', access_token: 'token' do me.invitable_friends end users.should be_instance_of FbGraph2::Edge users.should_not be_blank users.each do |user| user.should be_instance_of FbGraph2::Struct::Friend end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems