]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/way_test.rb
Remove unused countries fixture.
[rails.git] / test / models / way_test.rb
index 807079f0988296fe21581d9460ce3489d61cf7fa..6c8b0f80b52eb60e1196b456417017981a9cac37 100644 (file)
@@ -29,7 +29,7 @@ class WayTest < ActiveSupport::TestCase
     way = Way.find(current_ways(:visible_way).id)
     assert way.valid?
     # it already has 1 node
     way = Way.find(current_ways(:visible_way).id)
     assert way.valid?
     # it already has 1 node
-    1.upto((MAX_NUMBER_OF_WAY_NODES) / 2) do
+    1.upto(MAX_NUMBER_OF_WAY_NODES / 2) do
       way.add_nd_num(current_nodes(:used_node_1).id)
       way.add_nd_num(current_nodes(:used_node_2).id)
     end
       way.add_nd_num(current_nodes(:used_node_1).id)
       way.add_nd_num(current_nodes(:used_node_2).id)
     end