Sha256: 8214347e6e21ae5a37449ab21dd618ada56f32d5fd10cfb9f3288fb643f8b52f

Contents?: true

Size: 498 Bytes

Versions: 4

Compression:

Stored size: 498 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', :params => {
      :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

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-1.7.5 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.7.4 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.7.3 spec/fb_graph/connections/friend_lists_spec.rb
fb_graph-1.7.2 spec/fb_graph/connections/friend_lists_spec.rb