X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22385c179ac9071242da1b26a837e83ad566995b..efd50cd529990069dc1ca95f66ec6f61471fe29d:/test/controllers/reports_controller_test.rb diff --git a/test/controllers/reports_controller_test.rb b/test/controllers/reports_controller_test.rb index 5bf355d08..612ead2e6 100644 --- a/test/controllers/reports_controller_test.rb +++ b/test/controllers/reports_controller_test.rb @@ -29,7 +29,7 @@ class ReportsControllerTest < ActionController::TestCase } end assert_response :redirect - assert_redirected_to user_path(target_user.display_name) + assert_redirected_to user_path(target_user) end def test_new_report_with_incomplete_details @@ -55,7 +55,7 @@ class ReportsControllerTest < ActionController::TestCase } end assert_response :redirect - assert_redirected_to user_path(target_user.display_name) + assert_redirected_to user_path(target_user) issue = Issue.last @@ -103,7 +103,7 @@ class ReportsControllerTest < ActionController::TestCase } end assert_response :redirect - assert_redirected_to user_path(target_user.display_name) + assert_redirected_to user_path(target_user) issue = Issue.last