Replaced online? method in holdings.rb with not_in_the_library? method that checks if the record's access_facet includes 'In the Library'. If a record is not in the library it will not have a callnumber. On the other hand, anything (including records that are also online) that is in the library will have a callnumber. Added some tests to test a couple different variations of access_facets.
Closes #461
Replaced
online?
method inholdings.rb
withnot_in_the_library?
method that checks if the record'saccess_facet
includes 'In the Library'. If a record is not in the library it will not have a callnumber. On the other hand, anything (including records that are also online) that is in the library will have a callnumber. Added some tests to test a couple different variations ofaccess_facets
.