Sha256: 6639dd2a4c6c199ccd828a42393689ba09d6baaa3ad35ae9758a787a1081da4a

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Threads, '#threads' do
  before do
    fake_json(:get, 'me/threads?access_token=access_token', 'users/threads/me_private')
  end

  it 'should return threads as FbGraph::Thread' do
    threads = FbGraph::User.me('access_token').threads
    threads.each do |thread|
      thread.should be_instance_of(FbGraph::Thread)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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