Merge branch 'main' into 18842-arv-mount-disk-config
[arvados.git] / apps / workbench / test / integration / report_issue_test.rb
index dc898689e593b6992707ee6bcbb141f9e3329d5c..98ce8aad141f1627a466ba87ccbe98da0fef9817 100644 (file)
@@ -7,11 +7,11 @@ require 'integration_helper'
 class ReportIssueTest < ActionDispatch::IntegrationTest
   setup do
     need_javascript
-    @user_profile_form_fields = Rails.configuration.user_profile_form_fields
+    @user_profile_form_fields = Rails.configuration.Workbench.UserProfileFormFields
   end
 
   teardown do
-    Rails.configuration.user_profile_form_fields = @user_profile_form_fields
+    Rails.configuration.Workbench.UserProfileFormFields = @user_profile_form_fields
   end
 
   # test version info and report issue from help menu
@@ -37,7 +37,7 @@ class ReportIssueTest < ActionDispatch::IntegrationTest
       assert page.has_button?('Close'), 'No button - Close'
       assert page.has_no_button?('Send problem report'), 'Found button - Send problem report'
       history_links = all('a').select do |a|
-        a[:href] =~ %r!^https://arvados.org/projects/arvados/repository/changes\?rev=[0-9a-f]+$!
+        a[:href] =~ %r!^https://dev.arvados.org/projects/arvados/repository/changes\?rev=[0-9a-f]+$!
       end
       assert_operator(2, :<=, history_links.count,
                       "Should have found two links to revision history " +