]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/node_test.rb
fix the user unit test so that it doesn't use a depricated method in rails 2.2.2
[rails.git] / test / unit / node_test.rb
index 51cf82d123d1670cb0ef7f1704ec325d4831166d..d1ec98e0d1b856f3db787f0e26ae06048ed6e0ae 100644 (file)
@@ -2,6 +2,10 @@ require File.dirname(__FILE__) + '/../test_helper'
 
 class NodeTest < Test::Unit::TestCase
   api_fixtures
+  
+  def test_node_count
+    assert_equal 16, Node.count
+  end
 
   def test_node_too_far_north
          invalid_node_test(:node_too_far_north)