|
16 | 16 | let(:repository) { Blacklight::Solr::Repository.new(blacklight_config) } |
17 | 17 | let(:user_params) { {} } |
18 | 18 |
|
19 | | - let(:blacklight_config) { Blacklight::Configuration.new } |
20 | | - let(:copy_of_catalog_config) { CatalogController.blacklight_config.deep_copy } |
| 19 | + let(:blacklight_config) { CatalogController.blacklight_config.deep_copy } |
21 | 20 | let(:blacklight_solr) { RSolr.connect(Blacklight.connection_config.except(:adapter)) } |
22 | 21 |
|
23 | 22 | let(:all_docs_query) { '' } |
|
50 | 49 |
|
51 | 50 | # SPECS FOR SEARCH RESULTS FOR QUERY |
52 | 51 | describe 'Search Results', :integration do |
53 | | - let(:blacklight_config) { copy_of_catalog_config } |
54 | | - |
55 | 52 | describe 'for a sample query returning results' do |
56 | 53 | let(:user_params) { { q: all_docs_query } } |
57 | 54 |
|
|
68 | 65 | end |
69 | 66 |
|
70 | 67 | describe "for a query returning a grouped response" do |
71 | | - let(:blacklight_config) { copy_of_catalog_config } |
72 | 68 | let(:user_params) { { q: all_docs_query } } |
73 | 69 |
|
74 | 70 | before do |
|
82 | 78 | end |
83 | 79 |
|
84 | 80 | describe "for a query returning multiple groups", :integration do |
85 | | - let(:blacklight_config) { copy_of_catalog_config } |
86 | 81 | let(:user_params) { { q: all_docs_query } } |
87 | 82 |
|
88 | 83 | before do |
|
140 | 135 |
|
141 | 136 | # SPECS FOR SEARCH RESULTS FOR FACETS |
142 | 137 | describe 'Facets in Search Results for All Docs Query', :integration do |
143 | | - let(:blacklight_config) { copy_of_catalog_config } |
144 | 138 | let(:user_params) { { q: all_docs_query } } |
145 | 139 |
|
146 | 140 | before do |
|
185 | 179 |
|
186 | 180 | # SPECS FOR SEARCH RESULTS FOR PAGING |
187 | 181 | describe 'Paging', :integration do |
188 | | - let(:blacklight_config) { copy_of_catalog_config } |
189 | 182 | let(:user_params) { { q: all_docs_query } } |
190 | 183 |
|
191 | 184 | it 'starts with first results by default' do |
|
0 commit comments