Allow users to send themselves a new confirmation email
[rails.git] / test / integration / user_creation_test.rb
index 77d73552a82ef100d4e04eeb4746af540e5a910c..01a7ca649dab7c2d8669d20aa8d722b1382fb602 100644 (file)
@@ -104,7 +104,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]