]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/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 / node_test.rb
index 13dea88dac5a7788fd6cbd688b1cd7d5c56115c1..51cf82d123d1670cb0ef7f1704ec325d4831166d 100644 (file)
@@ -1,12 +1,8 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class NodeTest < Test::Unit::TestCase
-  fixtures :changesets, :current_nodes, :users, :current_node_tags, :nodes, :node_tags
-  set_fixture_class :current_nodes => Node
-  set_fixture_class :nodes => OldNode
-  set_fixture_class :node_tags => OldNodeTag
-  set_fixture_class :current_node_tags => NodeTag
-    
+  api_fixtures
+
   def test_node_too_far_north
          invalid_node_test(:node_too_far_north)
   end