Sha256: 032bda01418ec5cf4266ccfad58ca56b5b35408f32b1cb6a33a1f1152dc10190

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

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.respond_to?(:total_entries)).to be_truthy
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
search_object-1.2.0 spec/search_object/plugin/will_paginate_spec.rb
search_object-1.1.3 spec/search_object/plugin/will_paginate_spec.rb
search_object-1.1.2 spec/search_object/plugin/will_paginate_spec.rb
search_object-1.1.1 spec/search_object/plugin/will_paginate_spec.rb