]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/way_controller_test.rb
Replace fixtures with factory for node_tags
[rails.git] / test / controllers / way_controller_test.rb
index 84846f9233c26df21ca466da4a5b4173bbae14a1..ccf29945579ab1571551ab94aa7362151d5dd5be 100644 (file)
@@ -673,8 +673,7 @@ class WayControllerTest < ActionController::TestCase
 
     # check that the set of IDs match expectations
     expected_way_ids = [current_ways(:visible_way).id,
-                        current_ways(:used_way).id
-                       ]
+                        current_ways(:used_way).id]
     found_way_ids = ways_xml.find("//osm/way").collect { |w| w["id"].to_i }
     assert_equal expected_way_ids.sort, found_way_ids.sort,
                  "expected ways for node #{current_nodes(:used_node_1).id} did not match found"