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