]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_relation_controller_test.rb
Pluralize nodes, ways and relations controllers
[rails.git] / test / controllers / old_relation_controller_test.rb
index be91962f8fff776af17f1a1049503eeb9d5bc32d..c6f43dbdc29d5f3a52bfa5174d71156a32b741ae 100644 (file)
@@ -225,7 +225,7 @@ class OldRelationControllerTest < ActionController::TestCase
   # version which we're getting from the versions call.
   def check_current_version(relation_id)
     # get the current version
-    current_relation = with_controller(RelationController.new) do
+    current_relation = with_controller(RelationsController.new) do
       get :read, :params => { :id => relation_id }
       assert_response :success, "can't get current relation #{relation_id}"
       Relation.from_xml(@response.body)