Sha256: b6c48ad05e1cad90112fd0af159b7d8ea468baa8d014815726314cc1b3092d00

Contents?: true

Size: 477 Bytes

Versions: 34

Compression:

Stored size: 477 Bytes

Contents

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

describe FbGraph::Connections::Interests, '#interests' do
  before(:all) do
    fake_json(:get, 'matake/interests?access_token=access_token', 'users/interests/matake_private')
  end

  it 'should return interests pages as FbGraph::Page' do
    pages = FbGraph::User.new('matake', :access_token => 'access_token').interests
    pages.each do |page|
      page.should be_instance_of(FbGraph::Page)
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
fb_graph-1.1.6 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.5 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.1.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.7 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.6 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.5 spec/fb_graph/connections/interests_spec.rb
palidanx-fb_graph-1.0.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.0.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-0.8.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-0.7.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-0.7.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-0.7.1 spec/fb_graph/connections/interests_spec.rb