Sha256: 3b5459f7c77ebf3b4525678d9257c3856d696fa815300d2fe2c18ab7970f07a1

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../spec_helper')

describe FbGraph::Connections::FriendLists, '#friend_lists' do
  before(:all) do
    fake_json(:get, 'matake/friendlists?access_token=access_token', 'users/friend_lists/matake')
  end

  it 'should return videos as FbGraph::FriendList' 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fb_graph-1.1.6 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.1.5 spec/fb_graph/connections/friend_lists_spec.rb