Skip to content

Commit

Permalink
Remove custom kaminari handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Jan 18, 2023
1 parent a1adaa6 commit 8c058e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
19 changes: 0 additions & 19 deletions app/views/catalog/_facet_pagination.html.erb

This file was deleted.

11 changes: 11 additions & 0 deletions spec/features/facets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,15 @@
expect(page.all('#access_facet').length).to eq 1
end
end

describe 'publication date facet' do
describe 'view larger option' do
it 'shows a large version of the slider' do
visit '/?f[format][]=Book'
click_button 'Publication year'
click_link 'View larger'
expect(page).to have_selector('.modal-body .range_limit')
end
end
end
end

0 comments on commit 8c058e7

Please sign in to comment.