Sha256: 2fea200e4a6dceafa24f58703167963838d457698081abf66090eaf28aae0c93

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Movies, '#movies' do
  before do
    fake_json(:get, 'matake/movies?access_token=access_token', 'users/movies/matake_private')
  end

  it 'should return movies pages as FbGraph::Page' do
    pages = FbGraph::User.new('matake', :access_token => 'access_token').movies
    pages.each do |page|
      page.should be_instance_of(FbGraph::Page)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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