Sha256: ae579b51cb14007a8dfe731a72aa436416f1a94728b6319f6e4532dbbacd205f
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Activities, '#activities' do before do fake_json(:get, 'matake/games?access_token=access_token', 'users/games/matake_private') end it 'should return games as FbGraph::Page' do games = FbGraph::User.new('matake', :access_token => 'access_token').games games.class.should == FbGraph::Connection games.first.should == FbGraph::Page.new( '101392683235776', :access_token => 'access_token', :name => 'FarmVille Cows', :category => 'Game', :created_time => '2011-01-05T13:37:40+0000' ) games.each do |game| game.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/games_spec.rb |