Sha256: cc7f4d9294650381ddf7e3169335cc196d253e15a818ba35cfb38ef8dc5a0a99

Contents?: true

Size: 413 Bytes

Versions: 8

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Videos, '#videos' do
  it 'should return videos as FbGraph::Video' do
    mock_graph :get, 'kirk/videos', 'users/videos/kirk_private', :access_token => 'access_token' 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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fb_graph-1.8.5 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.4 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.3 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.2 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.1 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.0 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.0.alpha2 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.8.0.alpha spec/fb_graph/connections/videos_spec.rb