X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3aaa6dd4b90320f7cad0efe66646692710a849b..2690342b08187db340afd6a6a1f4789f0f9564b7:/test/integration/user_creation_test.rb diff --git a/test/integration/user_creation_test.rb b/test/integration/user_creation_test.rb index c565afd1e..f595ee73d 100644 --- a/test/integration/user_creation_test.rb +++ b/test/integration/user_creation_test.rb @@ -140,10 +140,8 @@ class UserCreationTest < ActionController::IntegrationTest post 'user/confirm', { :confirm_string => confirm_string, :confirm_action => 'submit' } assert_response :redirect # to trace/mine in original referrer follow_redirect! - assert_response :redirect # but it not redirects to /user//traces - follow_redirect! assert_response :success - assert_template 'trace/list' + assert_template 'site/welcome' end def test_user_create_openid_success @@ -235,9 +233,7 @@ class UserCreationTest < ActionController::IntegrationTest post 'user/confirm', { :confirm_string => confirm_string, :confirm_action => 'submit' } assert_response :redirect # to trace/mine in original referrer follow_redirect! - assert_response :redirect # but it not redirects to /user//traces - follow_redirect! assert_response :success - assert_template "trace/list" + assert_template 'site/welcome' end end