Sha256: 442c9937bed206a29e12629a19d29faf2e328efdeb223e45888b4ef0b4da61e3

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

Stored size: 438 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', :params => {
      :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

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-1.7.5 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.7.4 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.7.3 spec/fb_graph/connections/videos_spec.rb
fb_graph-1.7.2 spec/fb_graph/connections/videos_spec.rb