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-1.8.1 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.8.0 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.8.0.alpha2 spec/fb_graph/connections/interests_spec.rb
fb_graph-1.8.0.alpha spec/fb_graph/connections/interests_spec.rb