X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/24b4538f8fef9f97098a1dfd82ff56bd61103c96..8a2df0e0b5347be90543dc7c9f025ef8136b08c3:/test/controllers/old_relations_controller_test.rb diff --git a/test/controllers/old_relations_controller_test.rb b/test/controllers/old_relations_controller_test.rb index 51e6c565a..9dd9a7165 100644 --- a/test/controllers/old_relations_controller_test.rb +++ b/test/controllers/old_relations_controller_test.rb @@ -225,7 +225,7 @@ class OldRelationsControllerTest < ActionController::TestCase def check_current_version(relation_id) # get the current version current_relation = with_controller(RelationsController.new) do - get :read, :params => { :id => relation_id } + get :show, :params => { :id => relation_id } assert_response :success, "can't get current relation #{relation_id}" Relation.from_xml(@response.body) end