Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
laritakr committed Apr 5, 2024
1 parent 89a973f commit 3338cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/catalog_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
WebMock.disable!
allow(AccountElevator).to receive(:switch!).with(cross_search_tenant_account.cname).and_return('public')
allow(Apartment::Tenant.adapter).to receive(:connect_to_new).and_return('')
allow_any_instance_of(Hyrax::SolrService).to receive(:connection).and_return(sample_solr_connection)
allow_any_instance_of(Hyrax::SolrServiceDecorator).to receive(:connection).and_return(sample_solr_connection)

Hyrax::SolrService.add(hyku_sample_work.to_solr)
Hyrax::SolrService.commit
Expand Down

0 comments on commit 3338cd4

Please sign in to comment.