Sha256: fd850359637a4843663fbbe196b358af259835da3dca067bdeda7360403c4f30

Contents?: true

Size: 437 Bytes

Versions: 104

Compression:

Stored size: 437 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Interests, '#interests' do
  it 'should return interests pages as FbGraph::Page' do
    mock_graph :get, 'matake/interests', 'users/interests/matake_private', :access_token => 'access_token' 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
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
fb_graph-2.7.17 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.16 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.15 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.14 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.13 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.12 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.11 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.10 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.9 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.8 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.7 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.6 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.5 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.7.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.7 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.6 spec/fb_graph/connections/interests_spec.rb