Sha256: 5be8b376f1bc84ee9cc4e4238018a2969391c48d899c82a681fbf2668b81f07b

Contents?: true

Size: 584 Bytes

Versions: 15

Compression:

Stored size: 584 Bytes

Contents

require 'spec_helper'

module Koala
  RSpec.describe "requests using GraphCollections" do
    let(:api) { Facebook::API.new(KoalaTest.vcr_oauth_token) }

    before :each do
      # use the right version of the API as of the writing of this test
      Koala.config.api_version = "v2.2"
    end

    it "can access the next page of a friend list" do
      KoalaTest.with_vcr_unless_live("friend_list_next_page") do
        result = api.get_connection("me", "friends")
        expect(result).not_to be_empty
        expect(result.next_page).not_to be_empty
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
koala-3.0.0.beta1 spec/integration/graph_collection_spec.rb
koala-2.5.0 spec/integration/graph_collection_spec.rb
koala-2.5.0rc1 spec/integration/graph_collection_spec.rb
koala-2.4.0 spec/integration/graph_collection_spec.rb
koala-2.3.0 spec/integration/graph_collection_spec.rb
koala-2.3.0rc1 spec/integration/graph_collection_spec.rb
koala-2.2.0 spec/integration/graph_collection_spec.rb
koala-2.2.0rc3 spec/integration/graph_collection_spec.rb
koala-2.2.0rc2 spec/integration/graph_collection_spec.rb
koala-2.2.0rc1 spec/integration/graph_collection_spec.rb
koala-2.0.0 spec/integration/graph_collection_spec.rb
koala-2.0.0rc1 spec/integration/graph_collection_spec.rb
koala-1.11.1 spec/integration/graph_collection_spec.rb
koala-1.11.0 spec/integration/graph_collection_spec.rb
koala-1.11.0rc spec/integration/graph_collection_spec.rb