Skip to content

Commit

Permalink
spec
Browse files Browse the repository at this point in the history
  • Loading branch information
CEdwardsBlasikiewicz committed Jun 17, 2024
1 parent 151f116 commit c851ffd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/services/catalogue_services_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
RSpec.describe CatalogueServicesClient do
subject(:service) { described_class.new }

describe "#get_holdings" do
it "returns holdings records" do
pp service.get_holdings(instance_id: "08aed703-3648-54d0-80ef-fddb3c635731")
expect(service.get_holdings(instance_id: "08aed703-3648-54d0-80ef-fddb3c635731").size).to eq 5
end
end

# WebMock.stub_request(:get, "http://catservices.test/catalogue-services/folio/instance/6bf69425-293d-5e3f-a050-16124aca9a4e").
# with(
# headers: {
Expand Down

0 comments on commit c851ffd

Please sign in to comment.