]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth2_test.rb
Remove OAuth 1 ApiCapability user branch
[rails.git] / test / integration / oauth2_test.rb
index fd6b42fece05ca43f3be92414c8faa7df3af8c52..3fe59cbdd6cfc0ddda1bd59f94a83063bf16cda6 100644 (file)
@@ -157,7 +157,6 @@ class OAuth2Test < ActionDispatch::IntegrationTest
     }.merge(options)
 
     get oauth_authorization_path(options)
     }.merge(options)
 
     get oauth_authorization_path(options)
-    assert_response :redirect
     assert_redirected_to login_path(:referer => request.fullpath)
 
     post login_path(:username => user.email, :password => "test")
     assert_redirected_to login_path(:referer => request.fullpath)
 
     post login_path(:username => user.email, :password => "test")