]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/way_node_test.rb
Merge branch 'master' into openstreetbugs
[rails.git] / test / unit / way_node_test.rb
index b931d3c04001192b55fcaded7ed05a33c6cd8e59..608d5c5aeafc0592fd9d2218d467d6fa86809c42 100644 (file)
@@ -1,12 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 require File.dirname(__FILE__) + '/../test_helper'
 
-class WayNodeTest < Test::Unit::TestCase
-  fixtures :way_nodes
-  set_fixture_class :way_nodes=>OldWayNode
-  set_fixture_class :current_way_nodes=>WayNode
+class WayNodeTest < ActiveSupport::TestCase
+  api_fixtures
   
   def test_way_nodes_count
   
   def test_way_nodes_count
-    assert_equal 4, WayNode.count
+    assert_equal 6, WayNode.count
   end
   
 end
   end
   
 end