Sha256: 103f72cafce5fcb0fef724c0a4cfc362e361e64d39676c9b55ee42f1e26aab8f
Contents?: true
Size: 530 Bytes
Versions: 29
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe FbGraph2::Edge::Feed do context 'included in User' do describe '#home' do let(:me) { FbGraph2::User.me('token') } it 'should return an Array of FbGraph2::Post' do posts = mock_graph :get, 'me/home', 'user/home', access_token: 'token' do me.home end posts.should be_instance_of FbGraph2::Edge posts.should_not be_blank posts.each do |post| post.should be_instance_of FbGraph2::Post end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems