1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

use HTML5 <nav> tag for the container

This commit is contained in:
Akira Matsuda 2011-02-08 11:25:43 +09:00
parent af61af9132
commit 0c12f5b639
3 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,3 @@
<div class='pagination'>
<nav class='pagination'>
<%= content_for :kaminari_paginator_tags %>
</div>
</nav>

View file

@ -1,2 +1,2 @@
.pagination
%nav.pagination
= content_for :kaminari_paginator_tags

View file

@ -7,7 +7,7 @@ feature 'Users' do
scenario 'navigating by pagination links' do
visit users_path
within 'div.pagination' do
within 'nav.pagination' do
within 'span.page.current' do
page.should have_content '1'
end
@ -16,7 +16,7 @@ feature 'Users' do
end
end
within 'div.pagination' do
within 'nav.pagination' do
within 'span.page.current' do
page.should have_content '2'
end
@ -25,7 +25,7 @@ feature 'Users' do
end
end
within 'div.pagination' do
within 'nav.pagination' do
within 'span.page.current' do
page.should have_content '4'
end
@ -34,7 +34,7 @@ feature 'Users' do
end
end
within 'div.pagination' do
within 'nav.pagination' do
within 'span.page.current' do
page.should have_content '3'
end