test/access/location_test.rb in access-2.0.7 vs test/access/location_test.rb in access-2.0.8
- old
+ new
@@ -20,10 +20,11 @@
assert_kind_of Access::Location, first_location
assert_kind_of Access::Link, first_location.links
assert_kind_of Access::Category, first_location.location_categories.first
assert_kind_of Access::Location, first_location.physical_location
assert_kind_of Access::Store, first_location.location_store
+ assert_kind_of Access::Geolocation, first_location.physical_location.geolocation
# make these work
# assert_kind_of Access::Category, first_location.categories
# assert_kind_of Access::Store, first_location.store
# assert_kind_of Access::Store, first_location.location
# assert first_location.name
@@ -39,9 +40,10 @@
assert_kind_of Access::LocationResponse, locations_response
assert_kind_of Access::Location, first_location
assert_kind_of Access::Category, first_location.location_categories.first
assert_kind_of Access::Location, first_location.physical_location
assert_kind_of Access::Store, first_location.location_store
+ assert_kind_of Access::Geolocation, first_location.physical_location.geolocation
end
end
def test_locations_fail_member_key
VCR.use_cassette('location search fail member key') do