diff --git a/spec/search_builders/hyrax/my/find_works_search_builder_spec.rb b/spec/search_builders/hyrax/my/find_works_search_builder_spec.rb index 252bbccf49..f1e2097772 100644 --- a/spec/search_builders/hyrax/my/find_works_search_builder_spec.rb +++ b/spec/search_builders/hyrax/my/find_works_search_builder_spec.rb @@ -30,7 +30,7 @@ it "is successful" do subject - expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryBuilderService.construct_query_for_ids([work.id])] + expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryService.construct_query_for_ids([work.id])] end end @@ -40,7 +40,7 @@ it "is successful" do subject ids = Hyrax::SolrService.query("{!field f=id}#{work.id}", fl: "member_ids_ssim").flat_map { |x| x.fetch("member_ids_ssim", []) } - expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryBuilderService.construct_query_for_ids([ids])] + expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryService.construct_query_for_ids([ids])] end end