]> git.openstreetmap.org Git - rails.git/commitdiff
Use correct URL
authorTom Hughes <tom@compton.nu>
Sat, 10 Jan 2015 16:51:28 +0000 (16:51 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 10 Jan 2015 17:40:55 +0000 (17:40 +0000)
test/integration/user_creation_test.rb

index d2dd0564e7990a5a05cce1861ef7dd3358cce7a3..0efe2e1a76bfcd10cee5ec05035b0096434f1f18 100644 (file)
@@ -135,7 +135,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
     assert_response :success
     assert_template 'user/confirm'
 
-    post "user/#{display_name}/confirm", { :confirm_string => confirm_string }
+    post "/user/#{display_name}/confirm", { :confirm_string => confirm_string }
     assert_response :redirect
     follow_redirect!
     assert_response :success