Sha256: 5044dfa147bba027a01eeadf19323b9167b731cda04237d6cee04523ff3c86ae
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 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_not be_blank users.each do |user| user.should be_instance_of FbGraph2::Struct::Friend end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.1.0 | spec/fb_graph2/edge/invitable_friends_spec.rb |