X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..07fe77b4fcfbbfd582da7b257c024b55accba705:/test/controllers/oauth2_authorized_applications_controller_test.rb diff --git a/test/controllers/oauth2_authorized_applications_controller_test.rb b/test/controllers/oauth2_authorized_applications_controller_test.rb index 45a60efcb..347d3e40e 100644 --- a/test/controllers/oauth2_authorized_applications_controller_test.rb +++ b/test/controllers/oauth2_authorized_applications_controller_test.rb @@ -33,7 +33,7 @@ class Oauth2AuthorizedApplicationsControllerTest < ActionDispatch::IntegrationTe get oauth_authorized_applications_path assert_response :success assert_template "oauth2_authorized_applications/index" - assert_select "tr", 2 + assert_select "tbody tr", 2 end def test_destroy @@ -58,6 +58,6 @@ class Oauth2AuthorizedApplicationsControllerTest < ActionDispatch::IntegrationTe get oauth_authorized_applications_path assert_response :success assert_template "oauth2_authorized_applications/index" - assert_select "tr", 1 + assert_select "tbody tr", 1 end end