Sha256: 2a2ff345976d78e032724cd0c8016c6049f3888287a6433d9624e5713e10213e

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Interests, '#interests' do
  before 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

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-1.7.1 spec/fb_graph/connections/interests_spec.rb