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.6.5 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.6.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.9 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.8 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.7 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.6 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.5 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.4 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.3 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.2 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.5.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.4.20 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.4.19 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.4.18 spec/fb_graph/connections/interests_spec.rb
fb_graph-2.4.17 spec/fb_graph/connections/interests_spec.rb