Sha256: 907bc701a52e2ec20e471fd32f22ae38083dff1373420b8e5f0ff12d1dfb48b4

Contents?: true

Size: 467 Bytes

Versions: 37

Compression:

Stored size: 467 Bytes

Contents

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

describe FbGraph::Connections::Invited, '#invited' do
  before do
    fake_json(:get, 'smartday/invited?access_token=access_token', 'events/invited/smartday_private')
  end

  it 'should return invited users as FbGraph::User' do
    users = FbGraph::Event.new('smartday', :access_token => 'access_token').invited
    users.each do |user|
      user.should be_instance_of(FbGraph::User)
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fb_graph-1.7.0 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.7.0.alpha2 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.9 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.7.0.alpha spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.8 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.7 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.5 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.4 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.3 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.2 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.1 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.6.0 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.5 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.4 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.3 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.2 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.1 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.5.0 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.4.1 spec/fb_graph/connections/invited_spec.rb
fb_graph-1.4.0 spec/fb_graph/connections/invited_spec.rb