Sha256: 861ac43007fb0f0c9111840a3a5b3e9be835ce3860928a06edbac1a4efc1fe0c

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require '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

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-1.7.1 spec/fb_graph/connections/videos_spec.rb