X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/55aafbb07904ca24390dd47ea960eae7cb2b909a..419db47f0e97123cb3ff491d189b5607468101da:/apps/workbench/test/controllers/users_controller_test.rb diff --git a/apps/workbench/test/controllers/users_controller_test.rb b/apps/workbench/test/controllers/users_controller_test.rb index ce9282ff77..50b35021c0 100644 --- a/apps/workbench/test/controllers/users_controller_test.rb +++ b/apps/workbench/test/controllers/users_controller_test.rb @@ -69,14 +69,14 @@ class UsersControllerTest < ActionController::TestCase if username == 'admin' assert_match /Home<\/a>/, @response.body assert_match /Home<\/a>/, @response.body - assert_match /href="\/users\/#{admin_user['uuid']}" title="show user"><\/i> Show<\/a/, @response.body - assert_match /href="\/users\/#{active_user['uuid']}" title="show user"><\/i> Show<\/a/, @response.body + assert_match /href="\/users\/#{admin_user['uuid']}"><\/i> Show<\/a/, @response.body + assert_match /href="\/users\/#{active_user['uuid']}"><\/i> Show<\/a/, @response.body assert_includes @response.body, admin_user['email'] assert_includes @response.body, active_user['email'] else refute_match /Home<\/a>/, @response.body - refute_match /href="\/users\/#{admin_user['uuid']}" title="show user"><\/i> Show<\/a/, @response.body - assert_match /href="\/users\/#{active_user['uuid']}" title="show user"><\/i> Show<\/a/, @response.body + refute_match /href="\/users\/#{admin_user['uuid']}"><\/i> Show<\/a/, @response.body + assert_match /href="\/users\/#{active_user['uuid']}"><\/i> Show<\/a/, @response.body assert_includes @response.body, active_user['email'] end end