X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bb1d0c7499ad7c8d48c28a611c2d6a99c170265b..95e5ccacf6c1193b313fa90a6d39baafa2ba67d8:/apps/workbench/test/controllers/application_controller_test.rb diff --git a/apps/workbench/test/controllers/application_controller_test.rb b/apps/workbench/test/controllers/application_controller_test.rb index 0bcf7a19fb..45952ceba3 100644 --- a/apps/workbench/test/controllers/application_controller_test.rb +++ b/apps/workbench/test/controllers/application_controller_test.rb @@ -381,7 +381,7 @@ class ApplicationControllerTest < ActionController::TestCase get(:show, {id: test_uuid}) login_link = css_select(css_selector).first assert_not_nil(login_link, "failed to select login link") - login_href = URI.unescape(login_link.attributes["href"]) + login_href = URI.unescape(login_link.attributes["href"].value) # The parameter needs to include the full URL to work. assert_includes(login_href, "://") assert_match(/[\?&]return_to=[^&]*\/projects\/#{test_uuid}(&|$)/,