Sha256: 6af751804cbb8224c76fa57228f6d355d802ab38febdfc2ebea2c083e805c7a1

Contents?: true

Size: 467 Bytes

Versions: 37

Compression:

Stored size: 467 Bytes

Contents

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

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

  it 'should return noreply users as FbGraph::User' do
    users = FbGraph::Event.new('smartday', :access_token => 'access_token').noreply
    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/noreply_spec.rb
fb_graph-1.7.0.alpha2 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.9 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.7.0.alpha spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.8 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.7 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.5 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.4 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.3 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.2 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.1 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.6.0 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.5 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.4 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.3 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.2 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.1 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.5.0 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.4.1 spec/fb_graph/connections/noreply_spec.rb
fb_graph-1.4.0 spec/fb_graph/connections/noreply_spec.rb