Sha256: fc62778bdef912826a660fac6b623c57a2422ff5baafae9c1177452de4c8a28f

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper_active_record'

require 'will_paginate'
require 'will_paginate/active_record'

module SearchObject
  module Plugin
    describe WillPaginate do
      it_behaves_like 'a paging plugin' do
        it 'uses will_paginate gem' do
          search = search_with_page
          expect(search.results).to be_respond_to :total_entries
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
search_object-1.2.5 spec/search_object/plugin/will_paginate_spec.rb
search_object-1.2.4 spec/search_object/plugin/will_paginate_spec.rb
search_object-1.2.3 spec/search_object/plugin/will_paginate_spec.rb