]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_ways_controller_test.rb
Merge remote-tracking branch 'upstream/pull/2160'
[rails.git] / test / controllers / old_ways_controller_test.rb
index 0dd2d5e3c743ed20422d4dc771da137917e16671..737ca1faf7662176f0fbf883d9c4356706b84169 100644 (file)
@@ -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