]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/old_node_test.rb
translating the listing of diary entries. Adding some initial tests for checking...
[rails.git] / test / unit / old_node_test.rb
index bdd685388821ebf7ecdff6a3c6b45a36533da892..eb68baafb26521497c2723f7debdc5bf358fd643 100644 (file)
@@ -1,12 +1,12 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class OldNodeTest < Test::Unit::TestCase
 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_old_node_count
+    assert_equal 19, OldNode.count
+  end
+
   def test_node_too_far_north
          invalid_node_test(:node_too_far_north)
   end
   def test_node_too_far_north
          invalid_node_test(:node_too_far_north)
   end