Merge branch '12690-12748-crunchstat-summary'
[arvados.git] / apps / workbench / test / controllers / application_controller_test.rb
index 0bcf7a19fba5a7b22de2e5100098da1b1d2c189b..45952ceba3ef46fa14378c8e3351fc79d7031df0 100644 (file)
@@ -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}(&|$)/,