]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_nodes_controller_test.rb
More resourceful routing for nodes, ways, relations and changesets controllers
[rails.git] / test / controllers / old_nodes_controller_test.rb
index 53c5072340f77607ccdce89227284ce49659c41c..94d16c8c059d12b4469c12e044c83390995e28cb 100644 (file)
@@ -386,7 +386,7 @@ class OldNodesControllerTest < ActionController::TestCase
   def check_current_version(node_id)
     # get the current version of the node
     current_node = with_controller(NodesController.new) do
-      get :read, :params => { :id => node_id }
+      get :show, :params => { :id => node_id }
       assert_response :success, "cant get current node #{node_id}"
       Node.from_xml(@response.body)
     end