Sha256: f2617e745ac5244848bb42cab0ee51e47665aa83dbdc1ba98d863c3db5a3ff13

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::FriendLists, '#friend_lists' do
  before 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

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-1.7.1 spec/fb_graph/connections/friend_lists_spec.rb