elasticsearch-model/spec/elasticsearch/model/adapters/active_record/pagination_spec.rb [129:146]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      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 [248:265]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



