From 37c8f07644a197b33a3c5379b9a0c541638306d8 Mon Sep 17 00:00:00 2001 From: andrew nimmo Date: Mon, 22 Jul 2024 13:02:48 -0700 Subject: [PATCH] Update observation_form_system_test.rb --- test/system/observation_form_system_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/system/observation_form_system_test.rb b/test/system/observation_form_system_test.rb index a77ade3d1b..d3c879eec8 100644 --- a/test/system/observation_form_system_test.rb +++ b/test/system/observation_form_system_test.rb @@ -134,8 +134,7 @@ def test_autofill_location_from_geotagged_image_nothing_matches # we should have the new type of location_google autocompleter now assert_selector("[data-type='location_google']") # Place name should now have been filled by Google, no MO locations match - assert_equal(UNIVERSITY_PARK[:name], - find('[id$="observation_place_name"]').value) + assert_field("observation_place_name", with: UNIVERSITY_PARK[:name]) assert_field("observation_location_id", with: "-1", type: :hidden) # now check that the "use_exif" button is disabled