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