From: Tom Hughes Date: Mon, 4 Oct 2010 23:43:48 +0000 (+0100) Subject: Fixup openid test to reflect changes merged from master X-Git-Tag: live~6866 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c1b65d11fd71d3801f4f5e42a3c40dc872a766f9?ds=sidebyside Fixup openid test to reflect changes merged from master --- diff --git a/test/integration/user_creation_test.rb b/test/integration/user_creation_test.rb index 801321dd1..bc4ccc97b 100644 --- a/test/integration/user_creation_test.rb +++ b/test/integration/user_creation_test.rb @@ -108,7 +108,7 @@ class UserCreationTest < ActionController::IntegrationTest assert_equal register_email.to[0], new_email # Check that the confirm account url is correct - confirm_regex = Regexp.new("/user/confirm\\?confirm_string=([a-zA-Z0-9]*)") + confirm_regex = Regexp.new("/user/redirect_tester/confirm\\?confirm_string=([a-zA-Z0-9]*)") assert_match(confirm_regex, register_email.body) confirm_string = confirm_regex.match(register_email.body)[1] @@ -203,7 +203,7 @@ class UserCreationTest < ActionController::IntegrationTest assert_equal register_email.to[0], new_email # Check that the confirm account url is correct - confirm_regex = Regexp.new("/user/redirect_tester/confirm\\?confirm_string=([a-zA-Z0-9]*)") + confirm_regex = Regexp.new("/user/redirect_tester_openid/confirm\\?confirm_string=([a-zA-Z0-9]*)") assert_match(confirm_regex, register_email.body) confirm_string = confirm_regex.match(register_email.body)[1]