14717: Make sure tests use git http and keep-web URLs from config.yml
[arvados.git] / apps / workbench / test / integration / user_settings_menu_test.rb
index 562dc7d1f41cb885aee778aace35ae81d9e2d11f..5f2886c7a3a0bb7277cf3b536dc65fbc25fac136 100644 (file)
@@ -188,7 +188,7 @@ class UserSettingsMenuTest < ActionDispatch::IntegrationTest
     end
     assert_text ":active/workbenchtest.git"
     assert_match /git@git.*:active\/workbenchtest.git/, page.text
-    assert_match /https:\/\/git.*\/active\/workbenchtest.git/, page.text
+    assert_match /#{Rails.configuration.Services.GitHTTP.ExternalURL.to_s}\/active\/workbenchtest.git/, page.text
   end
 
   [