]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/user_controller_test.rb
Preserve the referer at the end of account creation
[rails.git] / test / functional / user_controller_test.rb
index cbe66a0dbee43a1230abd579cdbe97e923419896..1c591f0e63ef733624b15488e9ecdf35abf54ada 100644 (file)
@@ -43,7 +43,7 @@ class UserControllerTest < ActionController::TestCase
     assert_match /#{@url}/, register_email.body
 
     # Check the page
-    assert_redirected_to :action => 'login'
+    assert_redirected_to :action => 'login', :referer => nil
       
     ActionMailer::Base.deliveries.clear
   end