X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7441f15b4fd59735ae00a16b47cfcf7eb99260a6..c672a73de3f376d0981c5bec9cdc3e97d5d0f9b7:/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