]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/old_node_test.rb
Fixing some of the tests, adding the new tests to make sure that you can't edit when...
[rails.git] / test / unit / old_node_test.rb
index bdd685388821ebf7ecdff6a3c6b45a36533da892..4915e40b641b4a90ba4d0717cfeb5f3f9d4b80c0 100644 (file)
@@ -1,12 +1,8 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class OldNodeTest < Test::Unit::TestCase
-  set_fixture_class :current_nodes => Node
-  set_fixture_class :nodes => OldNode
-  set_fixture_class :node_tags => OldNodeTag
-  set_fixture_class :current_node_tags => NodeTag
-  fixtures :current_nodes, :users, :current_node_tags, :nodes, :node_tags
-    
+  api_fixtures
+
   def test_node_too_far_north
          invalid_node_test(:node_too_far_north)
   end