Sha256: 8b21d821b5933e3e30f384d286da909c980b59876baa09615d8810a4f5266493

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

require 'spec_helper'

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

  it 'should return television pages as FbGraph::Page' do
    pages = FbGraph::User.new('matake', :access_token => 'access_token').television
    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/television_spec.rb