X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/57e2d5a8f5adc18df966ca1801e42d3cfe01d16e..b76bfe379e6527c9cfc2ced97aa615f8c2c45dd7:/test/unit/way_node_test.rb?ds=sidebyside diff --git a/test/unit/way_node_test.rb b/test/unit/way_node_test.rb index 1871eae9d..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, :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 - assert_equal 4, WayNode.count + assert_equal 9, WayNode.count end - end