elasticsearch-model/spec/elasticsearch/model/adapters/active_record/pagination_spec.rb [185:209]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      end
    end

    describe '#next_page' do

      it 'returns the correct next page' do
        expect(records.next_page).to be_nil
      end
    end

    describe '#total_pages' do

      it 'returns the correct total pages' do
        expect(records.total_pages).to eq(3)
      end
    end

    describe '#first_page?' do

      it 'returns the correct first page' do
        expect(records.first_page?).to be(false)
      end
    end

    describe '#last_page?' do
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elasticsearch-model/spec/elasticsearch/model/adapters/active_record/pagination_spec.rb [241:265]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      end
    end

    describe '#next_page' do

      it 'returns the correct next page' do
        expect(records.next_page).to be_nil
      end
    end

    describe '#total_pages' do

      it 'returns the correct total pages' do
        expect(records.total_pages).to eq(3)
      end
    end

    describe '#first_page?' do

      it 'returns the correct first page' do
        expect(records.first_page?).to be(false)
      end
    end

    describe '#last_page?' do
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



