Sha256: c9c19b3e169f7449f2091a78e59e983db620c2a7d8de1e3e5d3689db92d07e2f

Contents?: true

Size: 418 Bytes

Versions: 32

Compression:

Stored size: 418 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Friends, '#friends' do
  it 'should return members as FbGraph::User' do
    mock_graph :get, 'emacs/members', 'groups/members/emacs_private', :access_token => 'access_token' 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
end

Version data entries

32 entries across 32 versions & 1 rubygems

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