Sha256: 5681819fca9aec138273ad0327178dfb70aee3442ddc36d970c89eda34c488a2
Contents?: true
Size: 563 Bytes
Versions: 77
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Outbox, '#outbox' do context 'before message platform transition' do it 'should return threads as FbGraph::Thread::BeforeTransition' do mock_graph :get, 'me/outbox', 'users/outbox/me_private', :access_token => 'access_token' do threads = FbGraph::User.me('access_token').outbox threads.each do |thread| thread.should be_instance_of(FbGraph::Thread::BeforeTransition) end end end end # TODO: after transition, check JSON format and put test here end
Version data entries
77 entries across 77 versions & 1 rubygems