diff --git a/config/authorities/supplemental_holding_locations.yml b/config/authorities/supplemental_holding_locations.yml index d2d3760e..d4d2466f 100644 --- a/config/authorities/supplemental_holding_locations.yml +++ b/config/authorities/supplemental_holding_locations.yml @@ -75,3 +75,33 @@ longitude: "-86.16780" parking: https://eiteljorg.org/visit/map-hours-parking/ notes: +- code: 'B-IGWS' + label: 'Bloomington - Indiana Geological and Water Survey' + address: 'Geology Building' + address2: '1001 E. 10th St.' + city: 'Bloomington' + state: 'IN' + zip: '47405' + phone: '812-855-7636' + email: 'igwsinfo@indiana.edu' + url: 'https://igws.indiana.edu' + urlHours: 'https://igws.indiana.edu/about/' + latitude: '39.1719' + longitude: '-86.521264' + parking: https://parking.indiana.edu/ + notes: '' +- code: 'B-ESAAD' + label: 'Bloomington - Eskenazi School of Art, Architecture + Design' + address: 'Fine Arts Building' + address2: '1201 E. Seventh Street' + city: 'Bloomington' + state: 'IN' + zip: '47405' + phone: '812-855-4627' + email: 'ksrichar@iu.edu' + url: 'https://eskenazi.indiana.edu/exhibitions/sage-collection/index.html' + urlHours: 'https://eskenazi.indiana.edu/exhibitions/sage-collection/index.html' + latitude: '39.1689179' + longitude: '-86.5189909' + parking: https://parking.indiana.edu/ + notes: '' diff --git a/spec/authorities/qa/authorities/iucat_libraries_spec.rb b/spec/authorities/qa/authorities/iucat_libraries_spec.rb index 05271bd7..0dbe35da 100644 --- a/spec/authorities/qa/authorities/iucat_libraries_spec.rb +++ b/spec/authorities/qa/authorities/iucat_libraries_spec.rb @@ -10,7 +10,7 @@ api_enabled: true } } let(:api_disabled) { { url: 'http://some_unreachable_server', api_enabled: false } } - let(:supplemental_data) { authority.supplemental_data } + let(:supplemental_data) { authority.send :supplemental_data } context 'when configuration does not exist' do before do @@ -22,7 +22,7 @@ it 'returns only supplemental data' do expect(result).to be_a Array expect(result).not_to be_empty - expect(result.size).to eq 5 + expect(result.size).to eq supplemental_data.size end end end @@ -50,7 +50,7 @@ it 'returns only supplemental data' do expect(result).to be_a Array expect(result).not_to be_empty - expect(result.size).to eq 5 + expect(result.size).to eq supplemental_data.size end end end