Sha256: 3902896fb3d083f4bfb6ab0d7dbb83710cacb58653a24a5955023af57ec59504
Contents?: true
Size: 449 Bytes
Versions: 12
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DHS::Record do let(:data_hash) do { items: 98.times.map { { foo: 'bar' } }, limit: 10, next: { href: 'http://example.com/users?from_user_id=100&limit=100' } } end let(:data) do DHS::Data.new(data_hash, nil, DHS::Record) end let(:pagination) { DHS::Pagination::Link.new(data) } it 'responds to parallel?' do expect(pagination.parallel?).to be false end end
Version data entries
12 entries across 12 versions & 1 rubygems