X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aceef47cd8f39928d27df43e2fdfee339ddafdc9..721f8e00b287974d6346e3c62bb8d0d599cc7db3:/test/controllers/oauth2_authorized_applications_controller_test.rb?ds=sidebyside diff --git a/test/controllers/oauth2_authorized_applications_controller_test.rb b/test/controllers/oauth2_authorized_applications_controller_test.rb index c01f7d6f3..3a9088401 100644 --- a/test/controllers/oauth2_authorized_applications_controller_test.rb +++ b/test/controllers/oauth2_authorized_applications_controller_test.rb @@ -25,7 +25,6 @@ class Oauth2AuthorizedApplicationsControllerTest < ActionDispatch::IntegrationTe create(:oauth_application) get oauth_authorized_applications_path - assert_response :redirect assert_redirected_to login_path(:referer => oauth_authorized_applications_path) session_for(user) @@ -45,7 +44,6 @@ class Oauth2AuthorizedApplicationsControllerTest < ActionDispatch::IntegrationTe create(:oauth_access_token, :resource_owner_id => user.id, :application => application1, :scopes => %w[read_prefs write_diary]) get oauth_authorized_applications_path - assert_response :redirect assert_redirected_to login_path(:referer => oauth_authorized_applications_path) session_for(user) @@ -78,7 +76,6 @@ class Oauth2AuthorizedApplicationsControllerTest < ActionDispatch::IntegrationTe session_for(user) delete oauth_authorized_application_path(:id => application1.id) - assert_response :redirect assert_redirected_to oauth_authorized_applications_path get oauth_authorized_applications_path