X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/de243dc7677355e4d2045fd47495788125e883d1..4da754586b4529a4480951218a69ec6f41fee98d:/apps/workbench/test/integration/user_profile_test.rb diff --git a/apps/workbench/test/integration/user_profile_test.rb b/apps/workbench/test/integration/user_profile_test.rb index bf15217f2f..247d5ed355 100644 --- a/apps/workbench/test/integration/user_profile_test.rb +++ b/apps/workbench/test/integration/user_profile_test.rb @@ -96,10 +96,11 @@ class UserProfileTest < ActionDispatch::IntegrationTest required_field_title = '' required_field_key = '' profile_config = Rails.configuration.user_profile_form_fields - profile_config.andand.each do |entry| + profile_config.each do |entry| if entry['required'] required_field_key = entry['key'] required_field_title = entry['form_field_title'] + break end end