diff --git a/kaminari-core/test/fake_app/rails_app.rb b/kaminari-core/test/fake_app/rails_app.rb index 6b15fc1..08f0a46 100644 --- a/kaminari-core/test/fake_app/rails_app.rb +++ b/kaminari-core/test/fake_app/rails_app.rb @@ -36,6 +36,7 @@ class UsersController < ApplicationController render inline: <<-ERB <%= @users.map(&:name).join("\n") %> <%= paginate @users %> +
<%= page_entries_info @users %>
ERB end diff --git a/kaminari-core/test/requests/navigation_test.rb b/kaminari-core/test/requests/navigation_test.rb index cd86862..bc66509 100644 --- a/kaminari-core/test/requests/navigation_test.rb +++ b/kaminari-core/test/requests/navigation_test.rb @@ -59,5 +59,9 @@ class NavigationTest < Test::Unit::TestCase assert page.has_content? '1' end end + + within 'div.info' do + assert page.has_text? 'Displaying users 1' + end end end