]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_relation_controller_test.rb
Reorganise tests to match modern rails test layout
[rails.git] / test / functional / old_relation_controller_test.rb
diff --git a/test/functional/old_relation_controller_test.rb b/test/functional/old_relation_controller_test.rb
deleted file mode 100644 (file)
index a52211e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-require File.dirname(__FILE__) + '/../test_helper'
-require 'old_relation_controller'
-
-class OldRelationControllerTest < ActionController::TestCase
-  api_fixtures
-
-  # -------------------------------------
-  # Test reading old relations.
-  # -------------------------------------
-  def test_history
-    # check that a visible relations is returned properly
-    get :history, :id => relations(:visible_relation).id
-    assert_response :success
-
-    # check chat a non-existent relations is not returned
-    get :history, :id => 0
-    assert_response :not_found
-
-  end
-
-end