Sha256: f68a5af79e4594e7854e5ddfcd3719edfac17bc32a8bc8f4acebec3d290fdd82

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Friends, '#friends' do
  before do
    fake_json(:get, 'emacs/members?access_token=access_token', 'groups/members/emacs_private')
  end

  it 'should return members as FbGraph::User' do
    users = FbGraph::Group.new('emacs', :access_token => 'access_token').members
    users.each do |user|
      user.should be_instance_of(FbGraph::User)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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