class MockedAdapter
Public Class Methods
new()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 2 def initialize; end
Public Instance Methods
count()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 4 def count 3 end
next_page()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 16 def next_page 2 end
page()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 20 def page 1 end
paginated_content()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 24 def paginated_content [] end
total_count()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 8 def total_count 5 end
total_pages()
click to toggle source
# File lib/wor/paginate/rspec.rb, line 12 def total_pages 10 end