Sha256: c97d185ba08df98fe41829e9720ceeb9901d368bea1176a6f8a0f5af37f86f94
Contents?: true
Size: 488 Bytes
Versions: 18
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Inbox, '#inbox' do # NOTE: # This connection returns Post instead of Thread for now. # See inbox.rb for more details. it 'should return threads as FbGraph::Post' do mock_graph :get, 'me/inbox', 'users/inbox/me_private', :access_token => 'access_token' do threads = FbGraph::User.me('access_token').inbox threads.each do |thread| thread.should be_instance_of(FbGraph::Post) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems