X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6ca22de4f2c68e4b14a6e2f0938a8657c33adc31..d74dd80540824b86fc93fc9573f412bbbcaefbc4:/test/controllers/old_ways_controller_test.rb diff --git a/test/controllers/old_ways_controller_test.rb b/test/controllers/old_ways_controller_test.rb index 0dd2d5e3c..737ca1faf 100644 --- a/test/controllers/old_ways_controller_test.rb +++ b/test/controllers/old_ways_controller_test.rb @@ -265,7 +265,7 @@ class OldWaysControllerTest < ActionController::TestCase def check_current_version(way_id) # get the current version current_way = with_controller(WaysController.new) do - get :read, :params => { :id => way_id } + get :show, :params => { :id => way_id } assert_response :success, "can't get current way #{way_id}" Way.from_xml(@response.body) end