Sha256: 21e4202387a855bf0bdf53a2b1b3660a4a4a256cb27d8e29c4faf5ad36198ab6

Contents?: true

Size: 246 Bytes

Versions: 7

Compression:

Stored size: 246 Bytes

Contents

shared_examples 'pagination' do
  its(:per_page) { should eq(1000) }
  its(:current_page) { should eq(1) }
end

shared_examples 'a container' do |count|
  it 'has correct number of items' do
    expect(subject.items.count).to eq(count)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
crunchbase_v2-1.1.6 spec/support/shared_examples.rb
crunchbase_v2-1.1.5 spec/support/shared_examples.rb
crunchbase_v2-1.1.4 spec/support/shared_examples.rb
crunchbase_v2-1.1.3 spec/support/shared_examples.rb
crunchbase_v2-1.1.2 spec/support/shared_examples.rb
crunchbase_v2-1.1.1 spec/support/shared_examples.rb
crunchbase_v2-1.1.0 spec/support/shared_examples.rb