Update bundle
This commit is contained in:
parent
cb43e6af9e
commit
2ef6a960d1
3 changed files with 42 additions and 45 deletions
|
@ -1070,7 +1070,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "user/login"
|
||||
get auth_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive")
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
follow_redirect!
|
||||
assert_response :redirect
|
||||
follow_redirect!
|
||||
|
@ -1090,7 +1090,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "user/login"
|
||||
get auth_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive")
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
follow_redirect!
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_failure_path(:strategy => "windowslive", :message => "connection_failed", :origin => "/login?referer=%2Fhistory")
|
||||
|
@ -1114,7 +1114,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "user/login"
|
||||
get auth_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive")
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
follow_redirect!
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_failure_path(:strategy => "windowslive", :message => "invalid_credentials", :origin => "/login?referer=%2Fhistory")
|
||||
|
@ -1138,7 +1138,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "user/login"
|
||||
get auth_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
assert_response :redirect
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive")
|
||||
assert_redirected_to auth_success_path(:provider => "windowslive", :origin => "/login?referer=%2Fhistory", :referer => "/history")
|
||||
follow_redirect!
|
||||
assert_response :redirect
|
||||
follow_redirect!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue