]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/way_node_test.rb
Move vagrant provisioning script to a better location.
[rails.git] / test / unit / way_node_test.rb
index 1871eae9d9c7437923c92bfb3172ffc7322d4b66..9d6a3b75597a83425fbb319ac8af4cfbb44fda0c 100644 (file)
@@ -1,12 +1,9 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 require File.dirname(__FILE__) + '/../test_helper'
 
-class WayNodeTest < Test::Unit::TestCase
-  fixtures :way_nodes, :current_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 9, WayNode.count
   end
   end
-  
 end
 end