Skip to content

Commit

Permalink
Address rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mamrey committed Jun 25, 2024
1 parent 703d99d commit 7983a7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/features/bookmarks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

describe "when bookmark counter is not rendered" do
before do
CatalogController.configure_blacklight do |config|
config.add_nav_action(:bookmark, partial: 'blacklight/nav/bookmark', if: proc { false })
end
CatalogController.configure_blacklight do |config|
config.add_nav_action(:bookmark, partial: 'blacklight/nav/bookmark', if: proc { false })
end
end

it 'adds bookmark without raising an alert', :js do
visit solr_document_path('2007020969')
Expand Down

0 comments on commit 7983a7b

Please sign in to comment.