]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Recognise locations in the hash correctly
[rails.git] / test / integration / user_terms_seen_test.rb
index eac5daf2410511e62ea7a49d89df34b9a7bac8ea..64a101024738c3642bc8d5ebe07efe3accd425d7 100644 (file)
@@ -39,7 +39,7 @@ class UserTermsSeenTest < ActionController::IntegrationTest
       assert_response :success
 
       # don't agree to the terms, but hit decline
-      post "/user/#{user.display_name}/save", {'decline' => 'decline', 'referer' => '/'}
+      post "/user/save", {'decline' => 'decline', 'referer' => '/'}
       assert_redirected_to "/"
       follow_redirect!