]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/users_controller_test.rb
Shorten user path helper calls in tests
[rails.git] / test / controllers / users_controller_test.rb
index a8feab6d22848ce9b2ad80224bfaf2c11f0dbbab..4ff9e76f6763bf4e967bc5b80b9ecd6f0eac68e9 100644 (file)
@@ -416,7 +416,7 @@ class UsersControllerTest < ActionDispatch::IntegrationTest
   # information for the user
   def test_show
     # Test a non-existent user
-    get user_path(:display_name => "unknown")
+    get user_path("unknown")
     assert_response :not_found
 
     # Test a normal user