Sha256: fca744f317609605d9ca29a4634c9dae682ce9aac60ade3cb103b0e5cd098068
Contents?: true
Size: 514 Bytes
Versions: 7
Compression:
Stored size: 514 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "spec_helper.rb") module Crunchbase describe NewItem, :vcr do subject { NewItem.lists_for_permalink("facebook") } it_has_behavior 'pagination' it_behaves_like 'a container', 1000 describe 'paging' do let(:page) { 4 } subject { NewItem.lists_for_permalink("facebook", {page: page}) } its(:next_page_url) { should be nil } its(:per_page) { should eq(1000) } its(:current_page) { should eq(page) } end end end
Version data entries
7 entries across 7 versions & 1 rubygems