Sha256: 947258227c64ee040273575e93f5f7e3ef9b4d2822686951c8ef21e526368b58

Contents?: true

Size: 473 Bytes

Versions: 32

Compression:

Stored size: 473 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::FriendLists, '#friend_lists' do
  it 'should return videos as FbGraph::FriendList' do
    mock_graph :get, 'matake/friendlists', 'users/friend_lists/matake', :access_token => 'access_token' do
      friend_lists = FbGraph::User.new('matake', :access_token => 'access_token').friend_lists
      friend_lists.each do |friend_list|
        friend_list.should be_instance_of(FbGraph::FriendList)
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
fb_graph-2.1.10 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.9 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.8 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.7 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.6 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.5 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.4 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.3 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.2 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.1 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.0 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.1.0.alpha spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.0.2 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.0.1 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.0.0 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.0.0.beta spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-2.0.0.alpha spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.9.5 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.9.4 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.9.3 spec/fb_graph/connections/friend_lists_spec.rb