Sha256: dbedafc374b607b415c5fafb36d4c1763949e37e591c613b6f16245ac8450421

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'

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

  it 'should return app_requests as FbGraph::AppRequest' do
    app_requests = FbGraph::User.me('access_token').app_requests
    app_requests.each do |app_request|
      app_request.should be_instance_of(FbGraph::AppRequest)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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