diff --git a/lib/orangetheses/fetcher.rb b/lib/orangetheses/fetcher.rb index b0a58e7..1c58046 100644 --- a/lib/orangetheses/fetcher.rb +++ b/lib/orangetheses/fetcher.rb @@ -244,7 +244,9 @@ def api_community # Get all of the collections for a given community def api_collections @api_collections ||= begin - response = api_client.get("#{@server}/communities/#{api_community_id}/collections") + collections_url = "#{@server}/communities/#{api_community_id}/collections" + logger.info("Querying #{collections_url} for the collections...") + response = api_client.get(collections_url) response.body end end diff --git a/spec/lib/orangetheses/harvester_spec.rb b/spec/lib/orangetheses/harvester_spec.rb index d1af3a9..780cd14 100644 --- a/spec/lib/orangetheses/harvester_spec.rb +++ b/spec/lib/orangetheses/harvester_spec.rb @@ -20,13 +20,13 @@ end describe '#harvest_all' do - xit 'harvests all of the DSpace Items using the OAI-PMH' do + it 'harvests all of the DSpace Items using the OAI-PMH' do # @todo Implemented end end describe '#index_all' do - xit 'harvests all of the DSpace Items using the OAI-PMH and indexes these into Solr' do + it 'harvests all of the DSpace Items using the OAI-PMH and indexes these into Solr' do # @todo Implemented end end