Sha256: 2bf007df7bf005b2c4e5dec08b53f00c0cebbf4cda786f968998fd92369345aa

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

RSpec::Matchers.define :have_next_page do
  match do |base|
    base.next_page?
  end
end

RSpec::Matchers.define :have_previous_page do
  match do |base|
    base.previous_page?
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paginate-4.0.0 spec/support/matchers.rb
paginate-3.0.0 spec/support/matchers.rb
paginate-2.0.0 spec/support/matchers.rb
paginate-1.0.1 spec/support/matchers.rb
paginate-1.0.0 spec/support/matchers.rb