Sha256: 1ed6d30273ba5cd84fd8b4151eaad808287cd873c65bae69976ad838491ab81f

Contents?: true

Size: 477 Bytes

Versions: 37

Compression:

Stored size: 477 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../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

37 entries across 37 versions & 1 rubygems

Version Path
fb_graph-1.7.0 spec/fb_graph/connections/television_spec.rb
fb_graph-1.7.0.alpha2 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.9 spec/fb_graph/connections/television_spec.rb
fb_graph-1.7.0.alpha spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.8 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.7 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.5 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.4 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.3 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.2 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.1 spec/fb_graph/connections/television_spec.rb
fb_graph-1.6.0 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.5 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.4 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.3 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.2 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.1 spec/fb_graph/connections/television_spec.rb
fb_graph-1.5.0 spec/fb_graph/connections/television_spec.rb
fb_graph-1.4.1 spec/fb_graph/connections/television_spec.rb
fb_graph-1.4.0 spec/fb_graph/connections/television_spec.rb