Sha256: ac8fca798f579ac759576444b56a868f0ef62db05d7da1c98c053ce33781d1e6

Contents?: true

Size: 447 Bytes

Versions: 37

Compression:

Stored size: 447 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../spec_helper')

describe FbGraph::Connections::Videos, '#videos' do
  before do
    fake_json(:get, 'kirk/videos?access_token=access_token', 'users/videos/kirk_private')
  end

  it 'should return videos as FbGraph::Video' do
    videos = FbGraph::User.new('kirk', :access_token => 'access_token').videos
    videos.each do |video|
      video.should be_instance_of(FbGraph::Video)
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

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