X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8b70c1c7279b4ddaf4910c77b6dbc237c0c67e1..42b329ed82c7899b970e1f0fd8d6d29fd625f7d5:/test/unit/way_node_test.rb diff --git a/test/unit/way_node_test.rb b/test/unit/way_node_test.rb index b931d3c04..9d6a3b755 100644 --- a/test/unit/way_node_test.rb +++ b/test/unit/way_node_test.rb @@ -1,12 +1,9 @@ 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 - assert_equal 4, WayNode.count + assert_equal 9, WayNode.count end - end