From 7983a7ba8262abaa9abe0240f55234ffe223e6bd Mon Sep 17 00:00:00 2001 From: Amrey Mathurin Date: Tue, 25 Jun 2024 15:57:00 -0400 Subject: [PATCH] Address rubocop --- spec/features/bookmarks_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/bookmarks_spec.rb b/spec/features/bookmarks_spec.rb index 92ea771260..727533f426 100644 --- a/spec/features/bookmarks_spec.rb +++ b/spec/features/bookmarks_spec.rb @@ -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')