5416: Merge branch 'master' into 5416-arv-git-httpd
[arvados.git] / apps / workbench / test / controllers / projects_controller_test.rb
index c2089ad18d816cd47087270b603a655ab22e2dff..ec17e8e4222676e50c7b92266b31a6180e359763 100644 (file)
@@ -28,7 +28,7 @@ class ProjectsControllerTest < ActionController::TestCase
         id: readonly_project_uuid
       }, session_for(which_user)
       buttons = css_select('[data-method=post]').select do |el|
-        el.attributes['href'].match /project.*owner_uuid.*#{readonly_project_uuid}/
+        el.attributes['data-remote-href'].match /project.*owner_uuid.*#{readonly_project_uuid}/
       end
       if should_show
         assert_not_empty(buttons, "did not offer to create a subproject")