Skip to content

Commit 5cca8c8

Browse files
authored
Remove unused mock from test (#3793)
Just a small cleanup: the `render_document_sidebar_partial` helper was removed in #3334, so there is no need to mock it in our test anymore.
1 parent 5e8c808 commit 5cca8c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/views/catalog/show.html.erb_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
allow(presenter).to receive(:html_title).and_return('Heading')
1010
allow(document).to receive(:more_like_this).and_return([])
1111
allow(view).to receive_messages(has_user_authentication_provider?: false)
12-
allow(view).to receive_messages(render_document_sidebar_partial: "Sidebar")
1312
allow(view).to receive_messages(current_search_session: nil, search_session: {})
1413
assign :document, document
1514
allow(view).to receive_messages(document_presenter: presenter, action_name: 'show', blacklight_config: blacklight_config)

0 commit comments

Comments
 (0)