Skip to content

Commit 0e309db

Browse files
committed
Switch test response model
1 parent 1d6f832 commit 0e309db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/views/catalog/index.atom.builder_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
let(:blacklight_config) { CatalogController.blacklight_config.deep_copy }
1717
let(:search_builder) { Blacklight::SearchBuilder.new(view) }
18-
let(:response) { Blacklight::Solr::Response.new({ response: { numFound: 30 } }, search_builder) }
18+
let(:response) { blacklight_config.response_model.new({ response: { numFound: 30 } }, search_builder) }
1919

2020
before do
2121
allow(view).to receive_messages(action_name: 'index', blacklight_config: blacklight_config)

0 commit comments

Comments
 (0)